ref: 7a1e3b1a9f4e1b94f02ee5136414ed315ad62c5c
parent: 369ff084019813a0c73a5176f7b763c889d06e54
author: Jacob Moody <moody@posixcafe.org>
date: Fri Oct 7 11:26:04 EDT 2022
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.
--- a/sys/src/cmd/aux/kbdfs/kbdfs.c
+++ b/sys/src/cmd/aux/kbdfs/kbdfs.c
@@ -124,8 +124,12 @@
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] =
{
--
⑨