git: 9front

Download patch

ref: 60ae558d0187fa7ffc7ef23da142650b1dbbfcce
parent: ed8cc64305fbcc94542211e3e113f0c8da36c124
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).
  *
  */
 
--