]> git.donarmstrong.com Git - tmk_firmware.git/commitdiff
Add M0120 scan code diagram
authortmk <nobody@nowhere>
Wed, 25 Sep 2013 06:20:21 +0000 (15:20 +0900)
committertmk <nobody@nowhere>
Wed, 25 Sep 2013 06:20:21 +0000 (15:20 +0900)
protocol/m0110.c

index 9b53ec2cd61c9c6341281ca2781c320b1d92d2e4..924ec316b8798a77a377ec4a83a0833a4dc6e6fc 100644 (file)
@@ -505,29 +505,29 @@ Scan Code
     m0110_recv_key() function returns following scan codes instead of raw key events.
     Scan codes are 1 byte long and MSB(bit7) is set when key is released. 
 
-    M0110
-    ,---------------------------------------------------------.
-    |  `|  1|  2|  3|  4|  5|  6|  7|  8|  9|  0|  -|  =|Backs|
-    |---------------------------------------------------------|
-    |Tab  |  Q|  W|  E|  R|  T|  Y|  U|  I|  O|  P|  [|  ]|  \|
-    |---------------------------------------------------------|
-    |CapsLo|  A|  S|  D|  F|  G|  H|  J|  K|  L|  ;|  '|Return|
-    |---------------------------------------------------------|
-    |Shift   |  Z|  X|  C|  V|  B|  N|  M|  ,|  ,|  /|        |
-    `---------------------------------------------------------'
-         |Opt|Mac |         Space               |Enter|Opt|
-         `------------------------------------------------'
-    ,---------------------------------------------------------.
-    | 32| 12| 13| 14| 15| 17| 16| 1A| 1C| 19| 1D| 1B| 18|   33|
-    |---------------------------------------------------------|
-    |   30| 0C| 0D| 0E| 0F| 10| 11| 20| 22| 1F| 23| 21| 1E| 2A|
-    |---------------------------------------------------------|
-    |    39| 00| 01| 02| 03| 05| 04| 26| 28| 25| 29| 27|    24|
-    |---------------------------------------------------------|
-    |      38| 06| 07| 08| 09| 0B| 2D| 2E| 2B| 2F| 2C|      38|
-    `---------------------------------------------------------'
-         | 3A|  37|             31              |   34| 3A|
-         `------------------------------------------------'
+    M0110                                                          M0120
+    ,---------------------------------------------------------.    ,---------------.
+    |  `|  1|  2|  3|  4|  5|  6|  7|  8|  9|  0|  -|  =|Backs|    |Clr|  -|Lft|Rgt|
+    |---------------------------------------------------------|    |---------------|
+    |Tab  |  Q|  W|  E|  R|  T|  Y|  U|  I|  O|  P|  [|  ]|  \|    |  7|  8|  9|Up |
+    |---------------------------------------------------------|    |---------------|
+    |CapsLo|  A|  S|  D|  F|  G|  H|  J|  K|  L|  ;|  '|Return|    |  4|  5|  6|Dn |
+    |---------------------------------------------------------|    |---------------|
+    |Shift   |  Z|  X|  C|  V|  B|  N|  M|  ,|  ,|  /|        |    |  1|  2|  3|   |
+    `---------------------------------------------------------'    |-----------|Ent|
+         |Opt|Mac |         Space               |Enter|Opt|        |      0|  .|   |
+         `------------------------------------------------'        `---------------'
+    ,---------------------------------------------------------.    ,---------------.
+    | 32| 12| 13| 14| 15| 17| 16| 1A| 1C| 19| 1D| 1B| 18|   33|    | 47| 4E| 46| 42|
+    |---------------------------------------------------------|    |---------------|
+    |   30| 0C| 0D| 0E| 0F| 10| 11| 20| 22| 1F| 23| 21| 1E| 2A|    | 59| 5B| 5C| 4D|
+    |---------------------------------------------------------|    |---------------|
+    |    39| 00| 01| 02| 03| 05| 04| 26| 28| 25| 29| 27|    24|    | 56| 57| 58| 48|
+    |---------------------------------------------------------|    |---------------|
+    |      38| 06| 07| 08| 09| 0B| 2D| 2E| 2B| 2F| 2C|      38|    | 53| 54| 55|   |
+    `---------------------------------------------------------'    |-----------| 4C|
+         | 3A|  37|             31              |   34| 3A|        |     52| 41|   |
+         `------------------------------------------------'        `---------------'
 
     M0110A
     ,---------------------------------------------------------. ,---------------.