mirror of
https://github.com/swaywm/sway.git
synced 2026-04-22 06:46:27 -04:00
Implement clickfinger_button_map support.
This commit is contained in:
parent
818ea17389
commit
5be5a50051
10 changed files with 74 additions and 3 deletions
|
|
@ -28,6 +28,7 @@ struct input_config *new_input_config(const char* identifier) {
|
|||
input->dwtp = INT_MIN;
|
||||
input->send_events = INT_MIN;
|
||||
input->click_method = INT_MIN;
|
||||
input->clickfinger_button_map = INT_MIN;
|
||||
input->middle_emulation = INT_MIN;
|
||||
input->natural_scroll = INT_MIN;
|
||||
input->accel_profile = INT_MIN;
|
||||
|
|
@ -55,6 +56,9 @@ void merge_input_config(struct input_config *dst, struct input_config *src) {
|
|||
if (src->click_method != INT_MIN) {
|
||||
dst->click_method = src->click_method;
|
||||
}
|
||||
if (src->clickfinger_button_map != INT_MIN) {
|
||||
dst->clickfinger_button_map = src->clickfinger_button_map;
|
||||
}
|
||||
if (src->drag != INT_MIN) {
|
||||
dst->drag = src->drag;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue