changelog shortlog tags branches files raw gz bz2 help

Mercurial > hg > plan9front / changeset: nusb/joy: update misleading comment (thanks Tobias Heinecke)

changeset 6819: 69402e985ca5
parent 6818: 40cf1430fdc5
child 6820: e705840ab027
author: aiju
date: Mon, 15 Oct 2018 10:10:34 +0100
files: sys/src/cmd/nusb/joy/joy.c
description: nusb/joy: update misleading comment (thanks Tobias Heinecke)
     1.1--- a/sys/src/cmd/nusb/joy/joy.c
     1.2+++ b/sys/src/cmd/nusb/joy/joy.c
     1.3@@ -1,13 +1,10 @@
     1.4 /*
     1.5- * USB Human Interaction Device: keyboard and mouse.
     1.6+ * USB Human Interaction Device: game controller.
     1.7  *
     1.8- * If there's no usb keyboard, it tries to setup the mouse, if any.
     1.9- * It should be started at boot time.
    1.10- *
    1.11- * Mouse events are converted to the format of mouse(3)
    1.12- * on mousein file.
    1.13- * Keyboard keycodes are translated to scan codes and sent to kbdfs(8)
    1.14- * on kbin file.bv
    1.15+ * Game controller events are written to stdout.
    1.16+ * May be used in conjunction with a script to
    1.17+ * translate to keyboard events and pipe to emulator
    1.18+ * (example /sys/src/games/nes/joynes).
    1.19  *
    1.20  */
    1.21