mirror of
https://github.com/apache/nuttx.git
synced 2026-08-01 20:28:58 +00:00
The Fn cursor cluster was reported as ordinary key presses carrying 0x80 to 0x83, chosen to sit above the printable range so that an application could tell them apart from characters. That is the collision this work exists to remove: a key that produces no character is a special key, and the event type is what says so. Report them as KEYBOARD_SPECPRESS carrying KEYCODE_UP and friends, which is what every other keyboard does and what the applications now expect. The character tables are untouched, so the layout and the shift map behave exactly as before. Only the four Fn cursor keys change. Not tested on hardware: the board was not available. It builds, and the change is confined to the two lines that pick the event type. Signed-off-by: Jorge Guzman <jorge.gzm@gmail.com> |
||
|---|---|---|
| .. | ||
| esp32 | ||
| esp32s2 | ||
| esp32s3 | ||