summaryrefslogtreecommitdiffstats
path: root/system/linuxconsoletools/90-joystick.rules
diff options
context:
space:
mode:
author Roberto Neri <rneri@libero.it>2011-04-08 21:23:05 -0500
committer Robby Workman <rworkman@slackbuilds.org>2011-04-08 21:23:05 -0500
commit94be40ff8e662c0e59347dfb6c706d4529ab43e8 (patch)
treeba6464c96d3ece4f0c8abfa8c75b7a713624ab06 /system/linuxconsoletools/90-joystick.rules
parent10792ab8044b16b48ce8d4fc25756b54e23a85b6 (diff)
downloadslackbuilds-94be40ff8e662c0e59347dfb6c706d4529ab43e8.tar.gz
slackbuilds-94be40ff8e662c0e59347dfb6c706d4529ab43e8.tar.xz
system/linuxconsoletools: Added (joystick utilities)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
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}"