39 lines
2.0 KiB
Diff
39 lines
2.0 KiB
Diff
![]() |
From ddee00c184701925fbe4c28d4851aeb95fc2702c Mon Sep 17 00:00:00 2001
|
||
|
From: Luigi Baldoni <aloisio@gmx.com>
|
||
|
Date: Tue, 8 Jan 2019 19:35:11 +0100
|
||
|
Subject: [PATCH] Renamed .rules file as well
|
||
|
|
||
|
---
|
||
|
linux/udev/{99-ckb-daemon.rules => 99-ckb-next-daemon.rules} | 0
|
||
|
src/daemon/CMakeLists.txt | 2 +-
|
||
|
2 files changed, 1 insertion(+), 1 deletion(-)
|
||
|
rename linux/udev/{99-ckb-daemon.rules => 99-ckb-next-daemon.rules} (100%)
|
||
|
|
||
|
Index: ckb-next-0.3.2/linux/udev/99-ckb-daemon.rules
|
||
|
===================================================================
|
||
|
--- ckb-next-0.3.2.orig/linux/udev/99-ckb-daemon.rules
|
||
|
+++ /dev/null
|
||
|
@@ -1,2 +0,0 @@
|
||
|
-# Mark ckb devices as not a joystick and create symlinks to the virtual input devices
|
||
|
-ACTION=="add|change", SUBSYSTEM=="input", ATTRS{name}=="ckb[0-9]: [A-Za-z0-9]*", ENV{ID_INPUT_JOYSTICK}="", PROGRAM="/usr/bin/env sed 's/[0-9]: /-/' /sys/class/input/%k/device/name", ENV{.INPUT_NAME}="%c, "SYMLINK+="input/by-id/%E{.INPUT_NAME}-event"
|
||
|
Index: ckb-next-0.3.2/linux/udev/99-ckb-next-daemon.rules
|
||
|
===================================================================
|
||
|
--- /dev/null
|
||
|
+++ ckb-next-0.3.2/linux/udev/99-ckb-next-daemon.rules
|
||
|
@@ -0,0 +1,2 @@
|
||
|
+# Mark ckb devices as not a joystick and create symlinks to the virtual input devices
|
||
|
+ACTION=="add|change", SUBSYSTEM=="input", ATTRS{name}=="ckb[0-9]: [A-Za-z0-9]*", ENV{ID_INPUT_JOYSTICK}="", PROGRAM="/usr/bin/sed 's/[0-9]: /-/' /sys/class/input/%k/device/name", ENV{.INPUT_NAME}="%c, "SYMLINK+="input/by-id/%E{.INPUT_NAME}-event"
|
||
|
Index: ckb-next-0.3.2/src/daemon/CMakeLists.txt
|
||
|
===================================================================
|
||
|
--- ckb-next-0.3.2.orig/src/daemon/CMakeLists.txt
|
||
|
+++ ckb-next-0.3.2/src/daemon/CMakeLists.txt
|
||
|
@@ -455,7 +455,7 @@ endif ()
|
||
|
|
||
|
if (LINUX)
|
||
|
install(
|
||
|
- FILES "${CMAKE_SOURCE_DIR}/linux/udev/99-ckb-daemon.rules"
|
||
|
+ FILES "${CMAKE_SOURCE_DIR}/linux/udev/99-ckb-next-daemon.rules"
|
||
|
DESTINATION "/usr/lib/udev/rules.d"
|
||
|
PERMISSIONS
|
||
|
OWNER_READ OWNER_WRITE
|