keyboard.readme 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. Keyboard related settings in hardwareconfig.xml
  2. In section <PPI>...</PPI>:
  3. Setting name: key_ghosting
  4. Default value: true
  5. Description:
  6. If true, the emulator will press 'ghost' keys when user presses multiple keys
  7. at once on crossing rows/columns of the keyboard matrix.
  8. It must be set to true for all MSX models that suffer from this hardware problem
  9. Setting name: key_ghosting_sgc_protected
  10. Default value: true
  11. Description:
  12. If true, the key ghosting routine in the emulator will protect Shift, Graph
  13. and Code keys from key-ghosting. According to schematics and tests, several
  14. European machines have such a protection but some Japanese machines don't have it.
  15. In the protected machines, those three keys are connected to the keyboard matrix
  16. via a Diode, which prevents that pressing those two or more of those three
  17. keys together would ghost to other rows/columns via the 'character key' that you press
  18. in combination with them.
  19. Setting name: keyboard_type
  20. Default value: int
  21. Description:
  22. Indicates which type of keyboard the MSX has. It is used to load a file that
  23. maps unicode characters to the appropriate key-combinations on the MSX.
  24. The file-name will be: unicodemaps/unicode.<keyboard_type>
  25. Setting name: has_keypad
  26. Default value: true
  27. Description:
  28. Indicates if the emulated MSX model has a numeric keypad. If true, key-presses
  29. on the host numeric keypad will be mapped to corresponding key-presses on
  30. the MSX's numeric keypad.
  31. If false, key-presses on the host numeric keypad will be ignored. User can
  32. overrule this with a setting in the settings.xml file.
  33. Setting name: code_kana_locks
  34. Default value: false
  35. Description:
  36. When true, the the CODE/KANA key locks on the emulated machine. Is in practice the
  37. behaviour of all Japanese MSX models and of the VG8010.
  38. If false, CODE/KANA key does not lock (e.g. it is only active as long as the key is
  39. pressed)
  40. In section <PSG>...</PSG>:
  41. Setting name: keyboardlayout
  42. Default value: <empty>
  43. Description:
  44. Indicates if the "keyboard mode" flag (bit 6 on PSG register 14) must be set.
  45. It will be set to "1" if keyboardlayout is JIS. Otherwise it will be 0.
  46. In practice, this bit is only read by the Japanese ROM-BIOS to determine
  47. the keyboard layout; Japanese-JIS or Japanese-ANSI
  48. See http://map.tni.nl/articles/keymatrix.php for further details about
  49. Japanese keyboard layouts.
  50. Note that this setting is ignored by the keyboard driver of openMSX. The
  51. keyboard driver only looks at the keyboard_type parameter in the PPI
  52. section to determine which unicode to keycombination mapping to apply.
  53. Keyboard related settings are described in doc/commands.html