main-mac.cで使われていたテンキー専用の内部コード("^^1"等)を使わないように仕様変更。
#
+# Keypad -- Direction
+#
+
+A:0
+P:^_18\r
+
+A:1
+P:^_19\r
+
+A:2
+P:^_20\r
+
+A:3
+P:^_21\r
+
+A:4
+P:^_22\r
+
+A:5
+P:^_23\r
+
+A:6
+P:^_24\r
+
+A:7
+P:^_25\r
+
+A:8
+P:^_27\r
+
+A:9
+P:^_28\r
+
+
+#
# Shift-Keypad -- Directed running
#
Term_keypress(ch);
}
- /* Hack -- normal "keypad keys" -> special keypress */
- else if (!mc && !ms && !mo && !mx && (ck < 96))
- {
- /* Hack -- "enter" is confused */
- if (ck == 76) ch = '\n';
-
- /* Send control-caret as a trigger */
- Term_keypress(30);
-
- /* Send the "ascii" keypress */
- Term_keypress(ch);
- }
-
/* Bizarre key -> encoded keypress */
else if (ck <= 127)
{