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:
tokyo4j 2024-08-08 17:29:43 +09:00 committed by Hiroaki Yamamoto
parent 228a74ca48
commit b667107d1a
9 changed files with 45 additions and 10 deletions

View file

@ -26,6 +26,7 @@ libinput_category_init(struct libinput_category *l)
l->click_method = -1;
l->send_events_mode = -1;
l->have_calibration_matrix = false;
l->scroll_factor = 1.0;
}
enum lab_libinput_device_type