summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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