ref: 22fc5467a4366579fcc7bfc389eaa9b397a3db7f
parent: df89d898f0c643d846002a3902da63fd8862119e
author: aiju <devnull@localhost>
date: Mon Oct 15 06:10:34 EDT 2018
nusb/joy: update misleading comment (thanks Tobias Heinecke)
--- 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).
*
*/