mirror of
https://github.com/labwc/labwc.git
synced 2025-11-01 22:58:47 -04:00
input: move <scrollFactor> to <libinput> section
This allows per-device configuration of scroll factor (e.g. setting different scroll factors for mice and touchpads).
This commit is contained in:
parent
228a74ca48
commit
b667107d1a
9 changed files with 45 additions and 10 deletions
|
|
@ -31,6 +31,7 @@ struct libinput_category {
|
|||
int click_method; /* -1 or libinput_config_click_method */
|
||||
int send_events_mode; /* -1 or libinput_config_send_events_mode */
|
||||
bool have_calibration_matrix;
|
||||
double scroll_factor;
|
||||
float calibration_matrix[6];
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -110,7 +110,6 @@ struct rcxml {
|
|||
/* mouse */
|
||||
long doubleclick_time; /* in ms */
|
||||
struct wl_list mousebinds; /* struct mousebind.link */
|
||||
double scroll_factor;
|
||||
|
||||
/* touch tablet */
|
||||
struct wl_list touch_configs;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue