From d1fa1eb19eeaa95b673e695e48da090be4f55f37 Mon Sep 17 00:00:00 2001 From: Filip Wieladek Date: Sat, 11 May 2013 17:07:28 +0200 Subject: initial version --- misc/.Xmodmap | 10 ++++++++++ misc/90-logitech-g710-plus.rules | 1 + 2 files changed, 11 insertions(+) create mode 100644 misc/.Xmodmap create mode 100644 misc/90-logitech-g710-plus.rules (limited to 'misc') 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 -- cgit v1.2.3