11 commandController,
"kbd_numkeypad_always_enabled",
12 "Numeric keypad is always enabled, even on an MSX that does not have one",
15 commandController,
"kbd_trace_key_presses",
16 "Trace key presses (show SDL key code, SDL modifiers and Unicode code-point value)",
19 "kbd_auto_toggle_code_kana_lock",
20 "Automatically toggle the CODE/KANA lock, based on the characters entered on the host keyboard",
38 codeKanaHostKey = make_unique<EnumSetting<Keys::KeyCode>>(
39 commandController,
"kbd_code_kana_host_key",
40 "Host key that maps to the MSX CODE/KANA key. Please note that the HENKAN_MODE key only exists on Japanese host keyboards)",
43 deadkeyHostKey[0] = make_unique<EnumSetting<Keys::KeyCode>>(
44 commandController,
"kbd_deadkey1_host_key",
45 "Host key that maps to deadkey 1. Not applicable to Japanese and Korean MSX models",
48 deadkeyHostKey[1] = make_unique<EnumSetting<Keys::KeyCode>>(
49 commandController,
"kbd_deadkey2_host_key",
50 "Host key that maps to deadkey 2. Only applicable to Brazilian MSX models (Sharp Hotbit and Gradiente)",
53 deadkeyHostKey[2] = make_unique<EnumSetting<Keys::KeyCode>>(
54 commandController,
"kbd_deadkey3_host_key",
55 "Host key that maps to deadkey 3. Only applicable to Brazilian Sharp Hotbit MSX models",
61 kpEnterMode = make_unique<EnumSetting<KpEnterMode>>(
62 commandController,
"kbd_numkeypad_enter_key",
63 "MSX key that the enter key on the host numeric keypad must map to",
69 mappingMode = make_unique<EnumSetting<MappingMode>>(
70 commandController,
"kbd_mapping_mode",
71 "Keyboard mapping mode",
81 return *codeKanaHostKey;
87 return deadkeyHostKey[n]->getValue();
102 return *alwaysEnableKeypad;
107 return *traceKeyPresses;
112 return *autoToggleCodeKanaLock;