aboutsummaryrefslogtreecommitdiff
path: root/sway/config/input.c
AgeCommit message (Collapse)Author
2019-04-14Implement input type configs (#3784)Benjamin Cheng
Add support for configurations that apply to a type of inputs (i.e. natural scrolling on all touchpads). A type config is differentiated by a `type:` prefix followed by the type it corresponds to. When new devices appear, the device config is merged on top of its type config (if it exists). New type configs are applied on top of existing configs.
2019-01-21Replace wlr_log with sway_logM Stoeckl
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.
2018-11-25Replace _XOPEN_SOURCE with _POSIX_C_SOURCEemersion
And make sure we don't define both in the same source file.
2018-11-18Add scroll factor config option.Spencer Michaels
2018-09-29add tap-and-drag setting to sway-inputPP
2018-09-27input config: merge left_handed optionIan Fan
2018-09-23Implement support for input wildcardBrian Ashworth
2018-09-19config: free strings fields when freeing input configIan Fan
2018-07-25Implement setting NumLock and CapsLock statusProgAndy
After setting the keymap, try to enable NumLock and disable CapsLock. This only works if sway has the xkb master state and controls the keyboard. Prepare configuration settings for later use as well.
2018-07-14Implement tap_button_map for input devicesBrian Ashworth
2018-07-12increase maximum value of button identifierRobert Kubosz
and also cleanup spaces
2018-07-11add scroll button optionRobert Kubosz
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.
2018-07-09Update for swaywm/wlroots#1126emersion
2018-04-26Add map_from_region commandemersion
2018-04-18Make key repeat configurableRyan Dwyer
This creates two input commands for configuring the repeat delay and rate. Example config: input "myidentifier" { repeat_delay 250 repeat_rate 25 }
2018-04-08Add input "identifier" map_to_output "identifier"Drew DeVault
2018-01-17copy config references for input and seatTony Crisci
2018-01-05sway: change all sway_log to wlr_logDominique Martinet
2017-12-16put seat and input config in their own filesTony Crisci