You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

keyboard-test.txt 2.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. Test protocol for keyboard handling
  2. ===================================
  3. Platform specific tests/issues are marked with [].
  4. Client
  5. ------
  6. - Normal symbols:
  7. - ASCII characters
  8. - Latin 1 character
  9. - Unicode BMP characters
  10. - Unicode non-BMP characters
  11. - Dead keys:
  12. - Grave
  13. - Acute
  14. - Circumflex
  15. - Tilde
  16. - Macron
  17. - Breve
  18. - Dot above
  19. - Diaeresis
  20. - Ring above
  21. - Double acute
  22. - Caron
  23. - Cedilla
  24. - Ogonek
  25. - Ypogegrammeni
  26. - Katakana voiced mark
  27. - Katakana semi-voiced mark
  28. - Dialytika tonos
  29. - FIXME: Many more that we currently probably don't support
  30. - No composition on client
  31. - Modifiers:
  32. - CapsLock, NumLock (sent but ignored by server)
  33. - Shift, Ctrl
  34. - Alt, AltGr, Super [Win, X11] (FIXME: AltGr broken on Win)
  35. - Left/right identification (FIXME: broken for Shift on Win)
  36. - CmdL => AltL, CmdR => SuperL, AltL => ModeSwitch, AltR => Level3Shift [Mac]
  37. - Meta and Hyper sends Super [X11]
  38. - CapsLock, Shift and AltGr affect symbol lookup
  39. - NumLock affects symbol lookup [Win, X11]
  40. - Ctrl does not affect symbol lookup
  41. - Shift inverts NumLock behaviour [X11]
  42. - Shift turns NumLock off, but not on [Win] (FIXME: fake Shifts also sent)
  43. - CtrlL+AltR fake release [Win]
  44. - Ctrl+Alt+any (note behaviour above though)
  45. - Ctrl+AltGr+any (FIXME: broken on Win)
  46. - "Shift press, A press, Shift release, A release" should not send "a release"
  47. - Numpad:
  48. - Numpad specific symbols are sent
  49. - Affected by NumLock
  50. - Decimal key should send Decimal for layouts with . as a symbol, and
  51. Separator for layouts with , as a symbol
  52. - Multimedia keys:
  53. - Back, Forward, Refresh, Stop
  54. - HomePage, Search, Favourites
  55. - Mail, Calculator
  56. - Volume up, down, mute
  57. - Media next, previous, stop, play
  58. - Sleep
  59. - FIXME: probably more keys exist
  60. - Non-character keys:
  61. - F1-F24
  62. - Tab, Space, Backspace, Return
  63. - LeftTab sends Tab
  64. - Esc, PrntScrn, ScrollLock, Pause
  65. - Insert, Delete, Home, End, PageUp, PageDown
  66. - Arrow keys
  67. - Menu
  68. - Alt+PrntScrn sends Sys_Req [Win]
  69. - French layout (AZERTY and inverted shift behaviour for many keys)
  70. - Key repeat should not send repeated release events
  71. - Keys are released on loss of focus
  72. - Local layout changes are respected
  73. - Local input methods are disabled/enabled with focus
  74. - System keys should be grabbed in full screen
  75. The exact keys depends on the system and configuration, but it
  76. is usually variants of these:
  77. - Alt+Tab
  78. - Super (and Super+other)
  79. - Multimedia keys
  80. - Ctrl+Alt+Delete
  81. - Ctrl+Esc
  82. - F8-F12
  83. - Virtual keyboard (as much of the above as is possible)