Use a flat acceleration curve by default
fee48a66a5a7fc2dd003687644858bcf016071ff
1 parent
426452a9
config.def.h
+2 -2
| 122 | 122 | ||
| 123 | 123 | /* Keep pointer events enabled. They can instead be disabled always or only |
|
| 124 | 124 | * while an external mouse is connected. */ |
|
| 125 | 125 | static const uint32_t send_events_mode = LIBINPUT_CONFIG_SEND_EVENTS_ENABLED; |
|
| 126 | 126 | ||
| 127 | - | /* Use adaptive pointer acceleration. FLAT disables the acceleration curve. */ |
|
| 127 | + | /* Use a flat pointer acceleration profile. */ |
|
| 128 | 128 | static const enum libinput_config_accel_profile accel_profile = |
|
| 129 | - | LIBINPUT_CONFIG_ACCEL_PROFILE_ADAPTIVE; |
|
| 129 | + | LIBINPUT_CONFIG_ACCEL_PROFILE_FLAT; |
|
| 130 | 130 | /* Pointer speed ranges from -1.0 (slowest) to 1.0 (fastest); 0.0 is neutral. */ |
|
| 131 | 131 | static const double accel_speed = 0.0; |
|
| 132 | 132 | ||
| 133 | 133 | /* Map one-, two-, and three-finger taps to left, right, and middle clicks. */ |
|
| 134 | 134 | static const enum libinput_config_tap_button_map button_map = |