Keyboard Scan-Codes


101-keys Keyboard (US/UK-style)


+--+    +--++--++--++--+  +--++--++--++--+  +--++--++--++--+  +--++--++--+
|01|    |3B||3C||3D||3E|  |3F||40||41||42|  |43||44||45||45|  |E0||46||E1|
+--+    +--++--++--++--+  +--++--++--++--+  +--++--++--++--+  +--++--++--+

+--++--++--++--++--++--++--++--++--++--++--++--++--++------+  +--++--++--+  +--++--++--++--+
|29||02||03||04||05||06||07||08||09||0A||0B||0C||0D||  0E  |  |E0||E0||E0|  |45||E0||37||4A|
+--++--++--++--++--++--++--++--++--++--++--++--++--++------+  +--++--++--+  +--++--++--++--+
+---++--++--++--++--++--++--++--++--++--++--++--++--++-----+  +--++--++--+  +--++--++--++--+
| 0F||10||11||12||13||14||15||16||17||18||19||1A||1B||  2B |  |E0||E0||E0|  |47||48||49||  |
+---++--++--++--++--++--++--++--++--++--++--++--++--++-----+  +--++--++--+  +--++--++--+|  |
+----++--++--++--++--++--++--++--++--++--++--++--++--------+                +--++--++--+|4E|
| 3A ||1E||1F||20||21||22||23||24||25||26||27||28||   1C   |                |4B||4C||4D||  |
+----++--++--++--++--++--++--++--++--++--++--++--++--------+                +--++--++--++--+
+------++--++--++--++--++--++--++--++--++--++--++----------+      +--+      +--++--++--++--+
|  2A  ||2C||2D||2E||2F||30||31||32||33||34||35||    36    |      |E0|      |4F||50||51||  |
+------++--++--++--++--++--++--++--++--++--++--++----------+      +--+      +--++--++--+|  |
+---+    +---++------------------------------++---+    +---+  +--++--++--+  +------++--+|E0|
| 1D|    | 38||               39             || E0|    | E0|  |E0||E0||E0|  |  52  ||53||  |
+---+    +---++------------------------------++---+    +---+  +--++--++--+  +------++--++--+


     All Keys with 'E0' and 'E1' are keys which send a 2-byte code to the system

102-keys Keyboard (GR-style)


+--+    +--++--++--++--+  +--++--++--++--+  +--++--++--++--+  +--++--++--+
|01|    |3B||3C||3D||3E|  |3F||40||41||42|  |43||44||45||45|  |E0||46||E1|
+--+    +--++--++--++--+  +--++--++--++--+  +--++--++--++--+  +--++--++--+

+--++--++--++--++--++--++--++--++--++--++--++--++--++------+  +--++--++--+  +--++--++--++--+
|29||02||03||04||05||06||07||08||09||0A||0B||0C||0D||  0E  |  |E0||E0||E0|  |45||E0||37||4A|
+--++--++--++--++--++--++--++--++--++--++--++--++--++------+  +--++--++--+  +--++--++--++--+
+---++--++--++--++--++--++--++--++--++--++--++--++--++-----+  +--++--++--+  +--++--++--++--+
| 0F||10||11||12||13||14||15||16||17||18||19||1A||1B||     |  |E0||E0||E0|  |47||48||49||  |
+---++--++--++--++--++--++--++--++--++--++--++--++--++-+   |  +--++--++--+  +--++--++--+|  |
+----++--++--++--++--++--++--++--++--++--++--++--++--+ |1C |                +--++--++--+|4E|
| 3A ||1E||1F||20||21||22||23||24||25||26||27||28||2B| |   |                |4B||4C||4D||  |
+----++--++--++--++--++--++--++--++--++--++--++--++--+ +---+                +--++--++--++--+
+---+--++--++--++--++--++--++--++--++--++--++--++----------+      +--+      +--++--++--++--+
| 2A|56||2C||2D||2E||2F||30||31||32||33||34||35||    36    |      |E0|      |4F||50||51||  |
+---+--++--++--++--++--++--++--++--++--++--++--++----------+      +--+      +--++--++--+|  |
+---+    +---++------------------------------++---+    +---+  +--++--++--+  +------++--+|E0|
| 1D|    | 38||               39             || E0|    | E0|  |E0||E0||E0|  |  52  ||53||  |
+---+    +---++------------------------------++---+    +---+  +--++--++--+  +------++--++--+


     All Keys with 'E0' and 'E1' are keys which send a 2-byte code to the system



9595 Main Page