summaryrefslogtreecommitdiff
path: root/sys/src
diff options
context:
space:
mode:
authoraiju <devnull@localhost>2018-10-15 10:10:34 +0100
committeraiju <devnull@localhost>2018-10-15 10:10:34 +0100
commit22fc5467a4366579fcc7bfc389eaa9b397a3db7f (patch)
treee60b6f63e257ed964a710f44a242dd41e14b3cf4 /sys/src
parentdf89d898f0c643d846002a3902da63fd8862119e (diff)
nusb/joy: update misleading comment (thanks Tobias Heinecke)
Diffstat (limited to 'sys/src')
-rw-r--r--sys/src/cmd/nusb/joy/joy.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/sys/src/cmd/nusb/joy/joy.c b/sys/src/cmd/nusb/joy/joy.c
index 147c46d87..b04028507 100644
--- a/sys/src/cmd/nusb/joy/joy.c
+++ b/sys/src/cmd/nusb/joy/joy.c
@@ -1,13 +1,10 @@
/*
- * USB Human Interaction Device: keyboard and mouse.
+ * USB Human Interaction Device: game controller.
*
- * If there's no usb keyboard, it tries to setup the mouse, if any.
- * It should be started at boot time.
- *
- * Mouse events are converted to the format of mouse(3)
- * on mousein file.
- * Keyboard keycodes are translated to scan codes and sent to kbdfs(8)
- * on kbin file.bv
+ * Game controller events are written to stdout.
+ * May be used in conjunction with a script to
+ * translate to keyboard events and pipe to emulator
+ * (example /sys/src/games/nes/joynes).
*
*/