* Replaced misleading comment in nusb/joy/joy.c
@ 2018-10-12 9:57 theinicke
2018-10-22 21:01 ` [9front] " hiro
0 siblings, 1 reply; 3+ messages in thread
From: theinicke @ 2018-10-12 9:57 UTC (permalink / raw)
To: 9front
[-- Attachment #1: Type: text/plain, Size: 108 bytes --]
Attached is a diff to replace the misleading top comment in /sys/src/cmd/nusb/joy/joy.c
--
Tobias Heinicke
[-- Attachment #2: joy.diff --]
[-- Type: text/plain, Size: 792 bytes --]
diff -r dfee39096be7 sys/src/cmd/nusb/joy/joy.c
--- a/sys/src/cmd/nusb/joy/joy.c Thu Oct 11 22:49:45 2018 +0200
+++ b/sys/src/cmd/nusb/joy/joy.c Fri Oct 12 11:48:48 2018 +0200
@@ -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).
*
*/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [9front] Replaced misleading comment in nusb/joy/joy.c
2018-10-12 9:57 Replaced misleading comment in nusb/joy/joy.c theinicke
@ 2018-10-22 21:01 ` hiro
2018-10-23 8:18 ` Julius Schmidt
0 siblings, 1 reply; 3+ messages in thread
From: hiro @ 2018-10-22 21:01 UTC (permalink / raw)
To: 9front
were there any objections?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [9front] Replaced misleading comment in nusb/joy/joy.c
2018-10-22 21:01 ` [9front] " hiro
@ 2018-10-23 8:18 ` Julius Schmidt
0 siblings, 0 replies; 3+ messages in thread
From: Julius Schmidt @ 2018-10-23 8:18 UTC (permalink / raw)
To: 9front
I already commited it.
On Mon, 22 Oct 2018, hiro wrote:
> were there any objections?
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-10-23 8:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-12 9:57 Replaced misleading comment in nusb/joy/joy.c theinicke
2018-10-22 21:01 ` [9front] " hiro
2018-10-23 8:18 ` Julius Schmidt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).