Robert Kubosz
f8bc928b2d
add error handling for scroll button out of range
...
user will be informed if the scroll button indentifier values causes
underflow or overflow.
6 years ago
Robert Kubosz
89db5b5716
expanded error detection for scroll button option
...
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.
6 years ago
Robert Kubosz
094edcbea2
rm constraint for max value of button identifier
...
updated error message to be more adequate for current contraint
6 years ago
Robert Kubosz
08edaf4e76
increase maximum value of button identifier
...
and also cleanup spaces
6 years ago
Robert Kubosz
41b80c28df
add scroll button option
...
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.
6 years ago
emersion
63b4bf5000
Update for swaywm/wlroots#1126
6 years ago
Dominique Martinet
5690bea227
input_config: free new_input_config on error
...
Found through static analysis.
7 years ago
emersion
ff61df17ff
Add map_from_region command
7 years ago
Ryan Dwyer
9d3739a6f7
Split repeat commands into separate files.
7 years ago
Ryan Dwyer
5b30391383
Make key repeat configurable
...
This creates two input commands for configuring the repeat delay and rate.
Example config:
input "myidentifier" {
repeat_delay 250
repeat_rate 25
}
7 years ago
Drew DeVault
0e3ddf255e
Add input "identifier" map_to_output "identifier"
7 years ago
Tony Crisci
9e0595f26b
input config handler context
7 years ago
Dominique Martinet
67985e9031
sway: change all sway_log to wlr_log
7 years ago
Tony Crisci
483ede0146
improve xkb command logging
7 years ago
Tony Crisci
b8261ab24b
expect exactly one xkb arg
7 years ago
Tony Crisci
f16aa3c0ad
rename config apply cmds
7 years ago
Tony Crisci
9eecbb5d8a
xkb config
7 years ago
Tony Crisci
92fef27eaa
basic configuration
7 years ago
Tony Crisci
c173d30b92
seat configuration
7 years ago
Tony Crisci
538903bc5a
config cleanup
7 years ago
Tony Crisci
462a451328
input config
7 years ago
Drew DeVault
733993a651
Move everything to sway/old/
7 years ago
Drew DeVault
9aed9d9359
UnGNUify the codebase
8 years ago
Michał Winiarski
e8d8abfbb5
Add left_handed support for input devices
...
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>
8 years ago
Zandr Martin
65ace5dec5
merge in latest commits
8 years ago
Zandr Martin
b374c35758
refactor commands.c
8 years ago