From 22fc5467a4366579fcc7bfc389eaa9b397a3db7f Mon Sep 17 00:00:00 2001 From: aiju Date: Mon, 15 Oct 2018 10:10:34 +0100 Subject: nusb/joy: update misleading comment (thanks Tobias Heinecke) --- sys/src/cmd/nusb/joy/joy.c | 13 +++++-------- 1 file 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). * */ -- cgit v1.2.3