aboutsummaryrefslogtreecommitdiffstats
path: root/sway/commands/input.c
Commit message (Collapse)AuthorAge
* bindsym: consider xkb_rule_names for --to-codeLibravatar Konstantin Pospelov2019-04-26
|
* bindsym: change default keymap for --to-codeLibravatar Konstantin Pospelov2019-04-26
| | | | Replace XKB_DEFAULT_LAYOUT with NULL as the default layout.
* Implement bindsym --to-codeLibravatar Konstantin Pospelov2019-04-26
| | | | | | | | | | | | * `bindsym --to-code` enables keysym to keycode translation. * If there are no `xkb_layout` commands in the config file, the translation uses the XKB_DEFAULT_LAYOUT value. * It there is one or more `xkb_layout` command, the translation uses the first one. * If the translation is unsuccessful, a message is logged and the binding is stored as BINDING_KEYSYM. * The binding keysyms are stored and re-translated when a change in the input configuration may affect the translated bindings.
* Replace wlr_log with sway_logLibravatar M Stoeckl2019-01-21
| | | | | | | | | | | | | This commit mostly duplicates the wlr_log functions, although with a sway_* prefix. (This is very similar to PR #2009.) However, the logging function no longer needs to be replaceable, so sway_log_init's second argument is used to set the exit callback for sway_abort. wlr_log_init is still invoked in sway/main.c This commit makes it easier to remove the wlroots dependency for the helper programs swaymsg, swaybg, swaybar, and swaynag.
* 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.
* Add scroll factor config option.Libravatar Spencer Michaels2018-11-18
|
* Minor refactor of input managerLibravatar Ryan Dwyer2018-10-20
| | | | | | | | | | | | | | | | | | | | | The input manager is a singleton object. Passing the sway_input_manager argument to each of its functions is unnecessary, while removing the argument makes it obvious to the caller that it's a singleton. This patch removes the argument and makes the input manager use server.input instead. On a similar note: * sway_input_manager.server is removed in favour of using the server global. * seat.input is removed because it can get it from server.input. Due to a circular dependency, creating seat0 is now done directly in server_init rather than in input_manager_create. This is because creating seats must be done after server.input is set. Lastly, it now stores the default seat name using a constant and removes a second reference to seat0 (in input_manager_get_default_seat).
* add tap-and-drag setting to sway-inputLibravatar PP2018-09-29
|
* Implement support for input wildcardLibravatar Brian Ashworth2018-09-23
|
* Restrict CapsLock and NumLock commands to the configuration fileLibravatar ProgAndy2018-07-25
|
* Add xkb_numlock/xkb_capslock commands (#2311)Libravatar ProgAndy2018-07-25
|
* Implement tap_button_map for input devicesLibravatar Brian Ashworth2018-07-14
|
* add scroll button optionLibravatar Robert Kubosz2018-07-11
| | | | | | This commit introduces a scroll_button option, which is intended to be used with scroll_method. Now user can edit his sway config and add an scroll_button option to device section.
* Update for swaywm/wlroots#1126Libravatar emersion2018-07-09
|
* Check if command input has at least 2 argumentsLibravatar Thomas Plaçais2018-06-27
|
* Address first round of review for generic blocksLibravatar Brian Ashworth2018-06-02
|
* Make command block implementation genericLibravatar Brian Ashworth2018-06-02
|
* Make key repeat configurableLibravatar Ryan Dwyer2018-04-18
| | | | | | | | | | | This creates two input commands for configuring the repeat delay and rate. Example config: input "myidentifier" { repeat_delay 250 repeat_rate 25 }
* seat config handler contextLibravatar Tony Crisci2018-01-20
|
* input config handler contextLibravatar Tony Crisci2018-01-20
|
* sway: change all sway_log to wlr_logLibravatar Dominique Martinet2018-01-05
|
* cmd_input: cleanup around current_input_configLibravatar Dominique Martinet2018-01-05
| | | | | | - Restore old one if we weren't part of a block (should be NULL anyway) - Check current_input_config got properly allocated - free temporary current_input_config when done using it
* error on not enough input/seat args for cmdLibravatar Tony Crisci2017-12-19
|
* set keyboard config at runtimeLibravatar Tony Crisci2017-12-16
|
* input configLibravatar Tony Crisci2017-12-11
|
* Move everything to sway/old/Libravatar Drew DeVault2017-11-18
|
* UnGNUify the codebaseLibravatar Drew DeVault2017-03-10
|
* Add left_handed support for input devicesLibravatar Michał Winiarski2016-10-25
| | | | | | | Some users may want to switch buttons on their input devices, turns out libinput already supports it. Let's add a support for it in our config. Signed-off-by: Michał Winiarski <knr@hardline.pl>
* merge in latest commitsLibravatar Zandr Martin2016-09-02
|
* refactor commands.cLibravatar Zandr Martin2016-09-01