aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/.Xmodmap10
-rw-r--r--misc/90-logitech-g710-plus.rules1
2 files changed, 11 insertions, 0 deletions
diff --git a/misc/.Xmodmap b/misc/.Xmodmap
new file mode 100644
index 0000000..0774e8f
--- /dev/null
+++ b/misc/.Xmodmap
@@ -0,0 +1,10 @@
+keycode 191 = XF86Launch0
+keycode 192 = XF86Launch1
+keycode 193 = XF86Launch2
+keycode 194 = XF86Launch3
+keycode 195 = XF86Launch4
+keycode 196 = XF86Launch5
+keycode 197 = XF86Launch6
+keycode 198 = XF86Launch7
+keycode 199 = XF86Launch8
+keycode 200 = XF86Launch9
diff --git a/misc/90-logitech-g710-plus.rules b/misc/90-logitech-g710-plus.rules
new file mode 100644
index 0000000..ba43608
--- /dev/null
+++ b/misc/90-logitech-g710-plus.rules
@@ -0,0 +1 @@
+ACTION=="add", SUBSYSTEM=="hid", DRIVER=="hid-generic", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c24d", RUN+="/bin/sh -c '/sbin/modprobe hid-lg-g710-plus; if test -d /sys/bus/hid/drivers/hid-generic && test -d /sys/bus/hid/drivers/hid-lg-g710-plus; then /bin/echo -n %k > /sys/bus/hid/drivers/hid-generic/unbind; /bin/echo -n %k > /sys/bus/hid/drivers/hid-lg-g710-plus/bind;fi'" \ No newline at end of file