aboutsummaryrefslogtreecommitdiff
path: root/sway/commands/input
AgeCommit message (Collapse)Author
2019-01-14Remove now-unused "input" argument of cmd_results_newM Stoeckl
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.
2019-01-13Merge pull request #3342 from RedSoxFan/scroll-buttons-improvedDrew DeVault
Improve mouse button parsing: input scroll_button
2019-01-10input_cmd_scroll_button: utilize mouse btn helpersBrian Ashworth
This modifies `input_cmd_scroll_button` to utilize the mouse button helper `get_mouse_button` when parsing the button. x11 axis buttons are not supported with this command and `CMD_INVALID` will be returned, but all other x11 buttons, button event names, and button event codes should be working
2019-01-09input_cmd_events: implement toggleBrian Ashworth
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.
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-11-10Use parse_boolean where possible.Connor E
2018-10-03Fix some missing commands in sway-input(5)Drew DeVault
2018-09-29add tap-and-drag setting to sway-inputPP
2018-09-23Implement support for input wildcardBrian Ashworth
2018-07-25Add xkb_numlock/xkb_capslock commands (#2311)ProgAndy
2018-07-23Switch to using a function to parse booleansBrian Ashworth
2018-07-14Implement tap_button_map for input devicesBrian Ashworth
2018-07-13add error handling for scroll button out of rangeRobert Kubosz
user will be informed if the scroll button indentifier values causes underflow or overflow.
2018-07-12expanded error detection for scroll button optionRobert Kubosz
Now the scroll_button will not accept: - letters on string beginning; - negative numbers. What is tolerated: - letters after number; - rational numbers: the fraction after dot will be omitted.
2018-07-12rm constraint for max value of button identifierRobert Kubosz
updated error message to be more adequate for current contraint
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-07-02input_config: free new_input_config on errorDominique Martinet
Found through static analysis.
2018-04-26Add map_from_region commandemersion
2018-04-19Split repeat commands into separate files.Ryan Dwyer
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-20input config handler contextTony Crisci
2018-01-05sway: change all sway_log to wlr_logDominique Martinet
2017-12-18improve xkb command loggingTony Crisci
2017-12-16expect exactly one xkb argTony Crisci
2017-12-16rename config apply cmdsTony Crisci
2017-12-15xkb configTony Crisci
2017-12-14basic configurationTony Crisci
2017-12-12seat configurationTony Crisci
2017-12-12config cleanupTony Crisci
2017-12-11input configTony Crisci
2017-11-18Move everything to sway/old/Drew DeVault
2017-03-10UnGNUify the codebaseDrew DeVault
2016-10-25Add left_handed support for input devicesMichał Winiarski
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>
2016-09-02merge in latest commitsZandr Martin
2016-09-01refactor commands.cZandr Martin