summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 18:45:44 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 18:45:44 +0000
commit7f8084920515638989f26597032531ddb3ac3c5e (patch)
tree77945c3fb643305058488d575909a51b005dff77 /debian
parentAdding debian changes as patch. (diff)
downloadxserver-xorg-input-libinput-7f8084920515638989f26597032531ddb3ac3c5e.tar.xz
xserver-xorg-input-libinput-7f8084920515638989f26597032531ddb3ac3c5e.zip
Adding configuration for Logitech Marble Mouse.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--debian/local/xorg.conf.d/41-logitech-marble-mouse.conf16
-rw-r--r--debian/xserver-xorg-input-libinput-udeb.install1
-rw-r--r--debian/xserver-xorg-input-libinput.install1
3 files changed, 18 insertions, 0 deletions
diff --git a/debian/local/xorg.conf.d/41-logitech-marble-mouse.conf b/debian/local/xorg.conf.d/41-logitech-marble-mouse.conf
new file mode 100644
index 0000000..9c25fde
--- /dev/null
+++ b/debian/local/xorg.conf.d/41-logitech-marble-mouse.conf
@@ -0,0 +1,16 @@
+# /usr/share/X11/xorg.conf.d/41-logitech-marble-mouse.conf
+
+Section "InputClass"
+ Driver "libinput"
+ Identifier "Marble Mouse"
+ MatchProduct "Logitech USB Trackball"
+
+ Option "ButtonMapping" "1 8 3 4 5 6 7 2 9"
+ Option "EmulateWheel" "true"
+ Option "EmulateWheelButton" "8"
+ Option "MiddleEmulation" "on"
+ Option "ScrollButton" "8"
+ Option "ScrollMethod" "button"
+ Option "XAxisMapping" "6 7"
+ Option "YAxisMapping" "4 5"
+EndSection
diff --git a/debian/xserver-xorg-input-libinput-udeb.install b/debian/xserver-xorg-input-libinput-udeb.install
index 19c904c..f471686 100644
--- a/debian/xserver-xorg-input-libinput-udeb.install
+++ b/debian/xserver-xorg-input-libinput-udeb.install
@@ -1,2 +1,3 @@
usr/lib/xorg/modules/input/*.so
usr/share/X11/xorg.conf.d
+debian/local/xorg.conf.d/* usr/share/X11/xorg.conf.d
diff --git a/debian/xserver-xorg-input-libinput.install b/debian/xserver-xorg-input-libinput.install
index 46ae395..13ebb9d 100644
--- a/debian/xserver-xorg-input-libinput.install
+++ b/debian/xserver-xorg-input-libinput.install
@@ -1,3 +1,4 @@
usr/lib/xorg/modules/input/*.so
usr/share/man
usr/share/X11/xorg.conf.d
+debian/local/xorg.conf.d/* usr/share/X11/xorg.conf.d