aboutsummaryrefslogtreecommitdiffstats
path: root/sway/commands/input/events.c
Commit message (Collapse)AuthorAge
* input_cmd_events: add support for input typesLibravatar Brian Ashworth2020-02-18
| | | | | | | | | | | This adds support for input type configs to input_cmd_events. This works similar to the wildcard handling that existed where configs for the devices are stored and the type config is reset to INT_MIN so that it does not override. This also condenses the toggle_send_events and toggle_wildcard_send_events functions into a single function to reduce code duplication.
* config/input: validate xkb keymap before storingLibravatar Brian Ashworth2019-06-09
| | | | | | | | This allows for an optional validation stage when storing an input config. Currently, only the xkb keymap is validated. If storing the delta input config will result in any invalid xkb keymaps, the input config will not be stored and error will be populated with the first line of the xkbcommon log.
* input_cmd_events: allow toggle modes to be listedLibravatar Brian Ashworth2019-01-21
| | | | | | | | | This extends `input <identifier> events toggle` to allow for an optional list of modes to toggle through. If no event modes are listed, all supported modes are cycled through (current behavior). If event modes are listed, they will be cycled through, defaulting to the first mode listed when the current mode is not in the list. This modes listed will also not be checked to see if the device supports them and may fail.
* Remove now-unused "input" argument of cmd_results_newLibravatar M Stoeckl2019-01-14
| | | | | | | | | Patch tested by compiling with `__attribute__ ((format (printf, 2, 3)))` applied to `cmd_results_new`. String usage constants have been converted from pointers to arrays when encountered. General handler format strings were sometimes modified to include the old input string, especially for unknown command errors.
* input_cmd_events: implement toggleLibravatar Brian Ashworth2019-01-09
| | | | | | | | Implements toggling input events during runtime. This will not attempt to toggle to a mode that is not supported by the device. When toggling the wildcard input, the device specific input configs are altered. Each device will cycle one supported mode.
* Implement support for input wildcardLibravatar Brian Ashworth2018-09-23
|
* Update for swaywm/wlroots#1126Libravatar emersion2018-07-09
|
* input_config: free new_input_config on errorLibravatar Dominique Martinet2018-07-02
| | | | Found through static analysis.
* input config handler contextLibravatar Tony Crisci2018-01-20
|
* sway: change all sway_log to wlr_logLibravatar Dominique Martinet2018-01-05
|
* rename config apply cmdsLibravatar Tony Crisci2017-12-16
|
* config cleanupLibravatar Tony Crisci2017-12-12
|
* input configLibravatar Tony Crisci2017-12-11
|
* Move everything to sway/old/Libravatar Drew DeVault2017-11-18
|
* UnGNUify the codebaseLibravatar Drew DeVault2017-03-10
|
* merge in latest commitsLibravatar Zandr Martin2016-09-02
|
* refactor commands.cLibravatar Zandr Martin2016-09-01