29 lines
678 B
Plaintext
29 lines
678 B
Plaintext
// Input device configuration.
|
|
// Find the full list of options on the wiki:
|
|
// https://yalter.github.io/niri/Configuration:-Input
|
|
input {
|
|
keyboard {
|
|
// Enable numlock on startup, omitting this setting disables it.
|
|
numlock
|
|
}
|
|
touchpad {
|
|
tap
|
|
natural-scroll
|
|
}
|
|
mouse {
|
|
accel-profile "flat"
|
|
}
|
|
trackpoint {
|
|
// off
|
|
// natural-scroll
|
|
// accel-speed 0.2
|
|
// accel-profile "flat"
|
|
// scroll-method "on-button-down"
|
|
// scroll-button 273
|
|
// scroll-button-lock
|
|
// middle-emulation
|
|
}
|
|
warp-mouse-to-focus
|
|
focus-follows-mouse max-scroll-amount="40%"
|
|
}
|