summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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).
*
*/