From: theinicke@bss-wf.de
To: 9front@9front.org
Subject: Replaced misleading comment in nusb/joy/joy.c
Date: Fri, 12 Oct 2018 11:57:55 +0200 [thread overview]
Message-ID: <006FBC2704CDA78E2577765ED067D65C@yourdomain.dom> (raw)
[-- 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).
*
*/
next reply other threads:[~2018-10-12 9:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-12 9:57 theinicke [this message]
2018-10-22 21:01 ` [9front] " hiro
2018-10-23 8:18 ` Julius Schmidt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=006FBC2704CDA78E2577765ED067D65C@yourdomain.dom \
--to=theinicke@bss-wf.de \
--cc=9front@9front.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).