Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Keystroke.c: whitespace fixes | Ulrich Sibiller | 2020-05-07 | 1 | -6/+6 |
| | |||||
* | Keystroke.c: fix typo | Ulrich Sibiller | 2020-05-07 | 1 | -1/+1 |
| | | | | make compilation work with -DNX_DEBUG_INPUT | ||||
* | Dialog.c: show configured keystrokes in dialogs | Ulrich Sibiller | 2020-05-07 | 1 | -24/+105 |
| | | | | | | | | Instead of hardcoding the keystrokes in Dialog.h determine the currently configured keystrokes for the action and insert them into the dialog strings. Fixes ArcticaProject/nx-libs#438 | ||||
* | Keystroke.c: fix formatting of keystrokes | Ulrich Sibiller | 2020-01-06 | 1 | -1/+1 |
| | | | | used the wrong macro for length determination | ||||
* | Keystroke.c: Grammar fix in stdout message (Current known -> Currently known). | Mike Gabriel | 2019-09-17 | 1 | -1/+1 |
| | |||||
* | nxagent: Add autograb mode. | Ulrich Sibiller | 2019-08-27 | 1 | -1/+8 |
| | | | | | | | You can now toggle between autograb mode by pressing CTRL-ALT-G (default, can be adjusted in keystrokes.cfg). Fixes ArcticaProject/nx-libs#384. | ||||
* | Keystroke.c: fix wrong return code | Ulrich Sibiller | 2019-08-27 | 1 | -1/+4 |
| | | | | | | The effect of this was that special keystrokes where detected and passed to the nxagent. E.g. pressing ctrl-alt-f for Fullscreen also produced an "f" in the current input window inside the nxagent. | ||||
* | Keystroke.c: use SAFE_free | Ulrich Sibiller | 2019-08-06 | 1 | -2/+2 |
| | |||||
* | Drop Ipaq support | Ulrich Sibiller | 2019-06-27 | 1 | -8/+0 |
| | | | | Did we ever provide a binary? | ||||
* | Remove useless "ignore" keystroke for Ctrl-Alt-Backspace | Ulrich Sibiller | 2019-05-10 | 1 | -2/+0 |
| | | | | nxagent does not react on that anyway (see xkb/xkbDflts.h) | ||||
* | Replace MIN/MAX macros by min/max from misc.h | Ulrich Sibiller | 2018-08-23 | 1 | -1/+1 |
| | | | | We do not need two versions in the code | ||||
* | Keystroke.c: replace calloc + 2 * strcpy by asprintf | Ulrich Sibiller | 2018-01-07 | 1 | -3/+1 |
| | |||||
* | Improve keystroke file handling | Ulrich Sibiller | 2017-07-16 | 1 | -52/+35 |
| | | | | Fixes ArcticaProject/nx-libs#486 | ||||
* | Revert "Switch from using libNX_X11's deprecated XKeycodeToKeysym() function ↵ | Ulrich Sibiller | 2017-05-04 | 1 | -9/+4 |
| | | | | | | | | | | | | | | | | | to using XGetKeyboardMapping()." This reverts commit efc0dae0519aa0ef1fabea6a64919475fd916347. Recent test revealed keyboard hangs on high latency connections. These hangs are not happening in 3.5.0 releases if the nx-libs. The commit above is responsible for them so we take that back. Interestingly nxcomp has special treatment for XGetKeyboardMapping() so it should normally speed up things but it results in the opposite for us. Needs further examination. This fixes ArcticaProject/nx-libs#450 | ||||
* | Keystrokes: rename left/up/right/down keystrokes to descriptive names | Ulrich Sibiller | 2017-04-03 | 1 | -39/+39 |
| | | | | | | The are now called reflecting their purpose: viewport_scroll_left/up/right/down. This also regroups all the keystrokes referring to viewport stuff. | ||||
* | Keystroke.c: move some vars to inner scope | Ulrich Sibiller | 2017-04-03 | 1 | -5/+2 |
| | |||||
* | Init keystrokes at startup and reconnect | Ulrich Sibiller | 2017-04-03 | 1 | -9/+3 |
| | | | | no more late initialization | ||||
* | Keystroke.c: avoid use of comparisons on "False" | Ulrich Sibiller | 2017-04-03 | 1 | -21/+13 |
| | |||||
* | Keystroke.c: use Booleans where appropriate | Ulrich Sibiller | 2017-04-03 | 1 | -13/+13 |
| | | | | | Some of the keystroke checks have used them before. This commit unifies those checks. | ||||
* | Keystroke.h: improve parse_keystroke_file() | Ulrich Sibiller | 2017-04-03 | 1 | -35/+44 |
| | | | | Print out more/better messages. | ||||
* | Keystroke.c: introduce nxagentDumpKeystrokes() | Ulrich Sibiller | 2017-04-03 | 1 | -0/+34 |
| | |||||
* | Keystroke.c/h: completely disable keystrokes that are not active at compile time | Ulrich Sibiller | 2017-04-03 | 1 | -10/+21 |
| | |||||
* | Keystroke.c: detect duplicate keystroke definitions | Ulrich Sibiller | 2017-04-03 | 1 | -0/+23 |
| | | | | | | We cannot check if an action is defined twice because the viewport stuff is controlled by multiple keystrokes (arrow keys and keypad) in the default configuration. | ||||
* | Keystroke.c: use KEYSTROKE_NOTHING | Ulrich Sibiller | 2017-04-03 | 1 | -3/+3 |
| | | | | | instead of KEYSTROKE_END_MARKER. This is cleaner since KEYSTROKE_END_MARKER really marks the end of the list. | ||||
* | Keystroke.c: ignore CapsLock and NumLock most of the time | Ulrich Sibiller | 2017-03-19 | 1 | -0/+10 |
| | | | | | | CapsLock and NumLock will only be taken into account for keystrokes that explicitly require them. This is implemented for convenience and fixes ArcticaProject/nx-libs#397 | ||||
* | Keystroke.c: remove unneeded capital keys for default keystrokes | Ulrich Sibiller | 2017-03-13 | 1 | -11/+0 |
| | |||||
* | Keystroke.c: add new keystroke to reread keystroke config | Ulrich Sibiller | 2017-03-13 | 1 | -4/+30 |
| | | | | Default is ctrl-alt-k | ||||
* | Keystroke.c: simplify parse_keystroke_file | Ulrich Sibiller | 2017-03-13 | 1 | -36/+15 |
| | |||||
* | Keystroke.c: fix formatting | Ulrich Sibiller | 2017-03-13 | 1 | -1/+1 |
| | |||||
* | Keystroke.c: use an own environment variable for X2Go | Ulrich Sibiller | 2017-03-13 | 1 | -3/+10 |
| | |||||
* | Keystroke.c: make nxagentKeystrokeFileParsed local | Ulrich Sibiller | 2017-03-13 | 1 | -4/+5 |
| | |||||
* | Keystroke.c: add missing Mod5 modifier | Ulrich Sibiller | 2017-03-13 | 1 | -0/+1 |
| | |||||
* | Keystroke.c: fix code order | Ulrich Sibiller | 2017-03-13 | 1 | -1/+3 |
| | | | | Do not use map before calling parse_keystroke_file() since it will malloc map. | ||||
* | Keystroke.h: sane struct init | Ulrich Sibiller | 2017-03-13 | 1 | -0/+1 |
| | | | | | Correctly use constant for unused structs instead of implicitly setting it through calloc(). | ||||
* | Keystroke.c: Fix modifier handling | Ulrich Sibiller | 2017-03-13 | 1 | -1/+2 |
| | | | | | | Code could not distinguish between ctrl-alt-shift and ctrl-alt. Fixes ArcticaProject/nx-libs#395 | ||||
* | Keystroke.c: more/fixed debug output | Ulrich Sibiller | 2017-03-13 | 1 | -2/+17 |
| | |||||
* | Keystroke: whitespace fixes | Ulrich Sibiller | 2017-03-13 | 1 | -1/+1 |
| | |||||
* | Keystroke.c: arrange switch_all_screens and fullscreen close together | Ulrich Sibiller | 2017-03-13 | 1 | -3/+3 |
| | | | | | Both use the same keystroke 'f' (with different modifiers) for a very similar function. | ||||
* | Keystroke.c: print keystroke name in TEST mode | Ulrich Sibiller | 2017-03-13 | 1 | -2/+6 |
| | |||||
* | Keystroke.c: improve TEST output | Ulrich Sibiller | 2017-03-13 | 1 | -3/+3 |
| | |||||
* | Keystroke.c: add another FIXME | Ulrich Sibiller | 2017-03-13 | 1 | -0/+2 |
| | |||||
* | Keystroke.c: Simplify read_binding_from_xmlnode | Ulrich Sibiller | 2017-03-13 | 1 | -16/+17 |
| | |||||
* | Keystroke.c: use symbols instead of integers | Ulrich Sibiller | 2017-03-13 | 1 | -2/+4 |
| | | | | We have defined them, so use them! | ||||
* | Keystroke.c: Boolify read_binding_from_xmlnode | Ulrich Sibiller | 2017-03-13 | 1 | -44/+44 |
| | |||||
* | Keystroke.c: Boolify nxagentCheckSpecialKeystroke | Ulrich Sibiller | 2017-03-13 | 1 | -7/+7 |
| | |||||
* | Keystroke.c: reorder parse_keystroke_file | Ulrich Sibiller | 2017-03-13 | 1 | -7/+5 |
| | | | | for better readability | ||||
* | Keystroke.c: handle parsing state in parse_keystroke_file() | Ulrich Sibiller | 2017-03-13 | 1 | -5/+6 |
| | |||||
* | Keystroke.c: simplify nxagentCheckSpecialKeystroke | Ulrich Sibiller | 2017-03-13 | 1 | -19/+3 |
| | |||||
* | Keystroke.c: fix code formatting | Ulrich Sibiller | 2017-03-13 | 1 | -5/+4 |
| | |||||
* | Keystroke.c: rework read_binding_from_xmlnode() | Ulrich Sibiller | 2017-03-11 | 1 | -54/+30 |
| | | | | code cleanup |