aboutsummaryrefslogtreecommitdiff
path: root/include/sway/input/keyboard.h
AgeCommit message (Collapse)Author
2018-06-12Fix keyboard shortcut handling inconsistenciesfrsfnrrg
* Ensure that modifier keys are identified even when the next key does not produce a keysym. This requires that modifier change tracking be done for each sway_shortcut_state. * Permit regular and --release shortcuts on the same key combination. Distinct bindings are identified for press and release cases; note that the release binding needs to be identified for both key press and key release events. * Maintain ascending sort order for the shortcut state list, and keep track of the number of pressed key ids, for simpler (and hence faster) searching of the list of key bindings. * Move binding duplicate detection into get_active_binding to avoid duplicating error messages.
2018-06-01Comment to explain sway_shortcut_state listsfrsfnrrg
2018-06-01Rewrite shortcut handling code to avoid hardcoded valuesfrsfnrrg
The same shortcut algorithm is now used for keycodes, raw keysyms, and translated keysyms. Pressed keysyms are now stored in association with the keycodes that generated them. Modifier keycodes (and associated keysyms) are identified retroactively by the subsequent change to the modifier flags.
2018-01-04binding releaseTony Crisci
2017-12-27keyboard translate keysymsTony Crisci
2017-12-16fix keyboard hotpluggingTony Crisci
2017-12-16fix header includesTony Crisci
2017-12-14basic configurationTony Crisci
2017-12-12sway input deviceTony Crisci
2017-12-10keyboard removeTony Crisci
2017-12-10basic keyboardTony Crisci