aboutsummaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
authorYuya Nishihara <yuya@tcha.org>2024-05-26 14:41:00 +0900
committerIvan Molodetskikh <yalterz@gmail.com>2024-05-26 16:49:40 +0300
commit4746a0da7dffde6befcb3c80609fa3d31bffc29c (patch)
tree5267194f8152d5138ab88020b0d3d1224bb863ed /resources
parent2ac8d840343dc964981507353c9128c68361cb6f (diff)
downloadniri-4746a0da7dffde6befcb3c80609fa3d31bffc29c.tar.gz
niri-4746a0da7dffde6befcb3c80609fa3d31bffc29c.tar.bz2
niri-4746a0da7dffde6befcb3c80609fa3d31bffc29c.zip
Add scroll-method property to pointer devices
My use case is to enable middle-button scroll on my keyboard with pointing stick. The device is recognized as USB mouse.
Diffstat (limited to 'resources')
-rw-r--r--resources/default-config.kdl2
1 files changed, 2 insertions, 0 deletions
diff --git a/resources/default-config.kdl b/resources/default-config.kdl
index 4b283466..d417b05d 100644
--- a/resources/default-config.kdl
+++ b/resources/default-config.kdl
@@ -27,12 +27,14 @@ input {
natural-scroll
// accel-speed 0.2
// accel-profile "flat"
+ // scroll-method "two-finger"
}
mouse {
// natural-scroll
// accel-speed 0.2
// accel-profile "flat"
+ // scroll-method "no-scroll"
}
// Uncomment this to make the mouse warp to the center of newly focused windows.