This paper gives the codes generated by the LK35 keyboard attached to the display (but see below). Reading input from the keyboard using a handler such as LUA. will give these codes internally. each key can either be pressed by itself or in conjunction with the shift and/or control keys. Thus each key has the four possibilities:
NB: The character code produced by hardware always has the eighth bit set, thus 15 is in fact 215 (octal), but the handler LUA. strips off this bit so the character as seen by the programmer is 15 (octal).
Printed on Key Shift Shift Control Control Lower Upper A B C D TOP ROW OF KEYBOARD [ { 133 133 33 33 1 ! 61 41 61 41 2 " 62 42 62 42 3 # 63 43 63 43 4 $ 64 44 64 44 5 % 65 45 65 45 6 & 66 46 66 46 7 ' 67 47 67 47 8 ( 70 50 70 50 9 ) 71 51 71 51 0 60 60 60 60 - + 55 75 55 75 = RO 137 137 37 37 ] } 135 135 35 35 Lower Upper A B C D SECOND ROW OF KEYBOARD TAB 11 11 11 11 ALT 175 175 175 175 Q 121 121 21 21 W 127 127 27 27 E 105 105 05 05 R 122 122 22 22 T 124 124 24 24 Y 131 131 31 31 U 125 125 25 25 I 111 111 11 11 O 117 117 17 17 P 120 120 20 20 @ \ 100 100 00 00 CR 15 15 15 15 LF 12 12 12 12 THIRD ROW OF KEYBOARD ∼ 136 136 36 36 CTRL A 101 101 01 01 S 123 123 23 23 D 104 104 04 04 F 106 106 06 06 G 107 107 07 07 H 110 110 10 10 J 112 112 12 12 K 113 113 13 13 L 114 114 14 14 ; + 73 53 73 53 : * 72 52 72 52 RUBOUT 177 177 177 177 FOURTH ROW OF KEYBOARD LOCK SHIFT Z 132 132 32 32 X 130 130 30 30 C 103 103 03 03 V 126 126 26 26 B 102 102 02 02 N 116 116 16 16 M 115 115 15 15 , 54 74 54 74 . 56 76 56 76 / 57 77 57 77 SHIFT \ 134 134 34 34
Possible Input Codes 00 @ 01 A 02 B 03 C 04 D 05 E 06 F 07 G 10 H 11 I 12 J 13 K 14 L 15 M 16 N 17 O 20 P 21 Q 22 R 23 S 24 T 25 U 26 V 27 W 30 X 31 Y 32 Z 33 { 34 | 35 } 36 ∼ 37 RO 40 SP 41 | 42 " 43 # 44 $ 45 % 46 & 47 ' 59 ( 51 ) 52 * 53 + 54 , 55 - 56 . 57 / 69 0 61 1 62 2 63 3 64 4 65 5 66 6 67 7 70 8 71 9 72 : 73 ; 74 < 75 = 76 > 77 ? 100 @ 101 A 102 B 103 C 104 D 105 E 106 F 107 G 110 H 111 I 112 J 113 K 114 L 115 M 116 N 117 O 120 P 121 Q 122 R 123 S 124 T 125 U 126 V 127 W 130 X 131 Y 132 Z 133 [ 134 \ 135 ] 136 ^ 137 - 140 141 142 143 144 145 146 147 150 151 152 153 154 155 156 157 160 161 162 163 164 165 166 167 170 171 172 173 174 175 ALT 176 177 RUBOUT