summaryrefslogtreecommitdiff
path: root/sys/src/cmd/aux
diff options
context:
space:
mode:
authorJacob Moody <moody@posixcafe.org>2022-10-07 15:26:04 +0000
committerJacob Moody <moody@posixcafe.org>2022-10-07 15:26:04 +0000
commit9d20339e479551841d6d917669bf67b83893b126 (patch)
treeae806d8cdbbb55086adf4de8878841e53618e89b /sys/src/cmd/aux
parent29468e518a88ae285a527cf0295be7be8e9ca08a (diff)
aux/kbdfs: correct comment regarding 0x79 and 0x7b codes.
These are not just random one off codes used by the HHKB. These are the codes used for language input keys on OADG 109(A) boards.
Diffstat (limited to 'sys/src/cmd/aux')
-rw-r--r--sys/src/cmd/aux/kbdfs/kbdfs.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/src/cmd/aux/kbdfs/kbdfs.c b/sys/src/cmd/aux/kbdfs/kbdfs.c
index 425e768b8..cc2d3c389 100644
--- a/sys/src/cmd/aux/kbdfs/kbdfs.c
+++ b/sys/src/cmd/aux/kbdfs/kbdfs.c
@@ -124,8 +124,12 @@ Channel *kbdchan; /* chan(char*) */
Channel *intchan; /* chan(int) */
/*
- * The codes at 0x79 and 0x7b are produced by the PFU Happy Hacking keyboard.
- * A 'standard' keyboard doesn't produce anything above 0x58.
+ * The codes at 0x79 and 0x7b are for the (無)変換 "(Mu)henkan" keys
+ * used by OADG 109(A) keyboards. The PFU Happy Hacking keyboard
+ * has only one layout and will produce these for otherwise unmarked
+ * keys. The default mappings for the HHKB on other systems map
+ * these to Kdown and Kup. The jp kbmap will instead map these
+ * (along with 0x70) to control characters that ktrans understands.
*/
Rune kbtab[Nscan] =
{