summaryrefslogtreecommitdiffstats
path: root/Documentation/input/joystick-api.txt
diff options
context:
space:
mode:
authorAntonio Ospite <ospite@studenti.unina.it>2013-12-16 01:51:47 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2013-12-16 02:13:32 -0800
commit7d0e6192c2f36139e4aa5e4107f4d7fb56d9f290 (patch)
treed6cfbf03d30d01613af947ee46e16a2402f3f191 /Documentation/input/joystick-api.txt
parente585c40ba19b155150f17124a308ac06e26d424a (diff)
downloadlinux-stable-7d0e6192c2f36139e4aa5e4107f4d7fb56d9f290.tar.gz
linux-stable-7d0e6192c2f36139e4aa5e4107f4d7fb56d9f290.tar.bz2
linux-stable-7d0e6192c2f36139e4aa5e4107f4d7fb56d9f290.zip
Input: joystick - refer to /dev/input/js0 in documentation
Nowadays the joystick device nodes are created under /dev/input, reflect this in the documentation in order to make copy and paste easier for users. Signed-off-by: Antonio Ospite <ospite@studenti.unina.it> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'Documentation/input/joystick-api.txt')
-rw-r--r--Documentation/input/joystick-api.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/input/joystick-api.txt b/Documentation/input/joystick-api.txt
index c507330740cd..f95f64838788 100644
--- a/Documentation/input/joystick-api.txt
+++ b/Documentation/input/joystick-api.txt
@@ -16,7 +16,7 @@ joystick.
By default, the device is opened in blocking mode.
- int fd = open ("/dev/js0", O_RDONLY);
+ int fd = open ("/dev/input/js0", O_RDONLY);
2. Event Reading