aboutsummaryrefslogtreecommitdiffstats
path: root/sway/commands/input/scroll_button.c
Commit message (Collapse)AuthorAge
* 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_scroll_button: utilize mouse btn helpersLibravatar Brian Ashworth2019-01-10
| | | | | | | | 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
* Implement support for input wildcardLibravatar Brian Ashworth2018-09-23
|
* add error handling for scroll button out of rangeLibravatar Robert Kubosz2018-07-13
| | | | | user will be informed if the scroll button indentifier values causes underflow or overflow.
* expanded error detection for scroll button optionLibravatar Robert Kubosz2018-07-12
| | | | | | | | | | 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.
* rm constraint for max value of button identifierLibravatar Robert Kubosz2018-07-12
| | | | updated error message to be more adequate for current contraint
* increase maximum value of button identifierLibravatar Robert Kubosz2018-07-12
| | | | and also cleanup spaces
* 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.