Add onbutton scrollMethod, scrollButton

This commit is contained in:
diniamo 2026-04-25 20:44:02 +02:00 committed by Johan Malm
parent 7d264c907f
commit 5c7bfe3c67
6 changed files with 33 additions and 4 deletions

View file

@ -31,6 +31,7 @@ struct libinput_category {
int dwt; /* -1 or libinput_config_dwt_state */
int click_method; /* -1 or libinput_config_click_method */
int scroll_method; /* -1 or libinput_config_scroll_method */
int scroll_button; /* -1 or a button from linux/input_event_codes.h */
int send_events_mode; /* -1 or libinput_config_send_events_mode */
bool have_calibration_matrix;
double scroll_factor;