aboutsummaryrefslogtreecommitdiff
path: root/system/linuxconsoletools/90-joystick.rules
diff options
context:
space:
mode:
Diffstat (limited to 'system/linuxconsoletools/90-joystick.rules')
-rw-r--r--system/linuxconsoletools/90-joystick.rules2
1 files changed, 2 insertions, 0 deletions
diff --git a/system/linuxconsoletools/90-joystick.rules b/system/linuxconsoletools/90-joystick.rules
new file mode 100644
index 0000000000..0bdc6b9f18
--- /dev/null
+++ b/system/linuxconsoletools/90-joystick.rules
@@ -0,0 +1,2 @@
+# Restore any stored calibration for the device
+KERNEL=="js*", ACTION=="add", RUN+="/usr/bin/jscal-restore %E{DEVNAME}"