mirror of
https://github.com/apache/nuttx.git
synced 2026-08-01 20:28:58 +00:00
The X11 keyboard reported any keysym that its translation table did not know as an ordinary key press carrying the raw keysym. An application looking for a byte of text got 65307 for Escape and 65289 for Tab, and the modifiers arrived as 65505 and friends. That is not a character, so it cannot be a KEYBOARD_PRESS. NXDoom on the simulator has therefore had no menu, no map and no fire, which is most of the game. Escape and Tab are control characters and are reported as such. The eight modifiers get the keycodes that the codec now has for them. And a keysym above the Latin-1 range that no table knows is not reported at all, which closes the case rather than the three instances of it. Verified by dumping the events while typing: Escape arrives as 27, Tab as 9, the modifiers as keycodes 88 to 95, and the game plays. Signed-off-by: Jorge Guzman <jorge.gzm@gmail.com> |
||
|---|---|---|
| .. | ||
| arm | ||
| arm64 | ||
| avr | ||
| ceva | ||
| dummy | ||
| hc | ||
| mips | ||
| misoc | ||
| or1k | ||
| renesas | ||
| risc-v | ||
| sim | ||
| sparc | ||
| tricore | ||
| x86 | ||
| x86_64 | ||
| xtensa | ||
| z16 | ||
| z80 | ||
| CMakeLists.txt | ||
| Kconfig | ||