mirror of
https://github.com/apache/nuttx.git
synced 2026-08-01 20:28:58 +00:00
|
Some checks are pending
Build Documentation / build-html (push) Waiting to run
MemBrowse Memory Report / changes-filter (push) Waiting to run
MemBrowse Memory Report / load-targets (push) Waiting to run
MemBrowse Memory Report / identical (push) Blocked by required conditions
MemBrowse Memory Report / analyze (push) Blocked by required conditions
As analyzed, the NuttX initial keyboard API design uses event type KBD_SPECPRESS/KBD_SPECREL to deliver special keys and KBD_PRESS/KBD_RELEASE to deliver ASCII codes. But it seems that this design choice has not been followed in virtio-input, goldfish_events and sim_keyboard designs and result is that external keyboard special keys events are mapped to KEYCODE_xxx values which start from 0 and overlaps with ASCII keys. The issue is tracked under #19527 number. This set of changes correct events reporting for mentioned keyboards to report right event type for special keys. The solution is only partial at this phase. Virtual and more complex keyboards usually deliver key pressures as scancodes (key position on keyboard) and mapping to ASCII for keys which corresponds to letter and other similar keys lacks mapping of national alphabets, second row symbols and switch to capital letter according to modifiers. Signed-off-by: Pavel Pisa <pisa@fel.cvut.cz> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Kconfig | ||
| Make.defs | ||
| virtio-blk.c | ||
| virtio-blk.h | ||
| virtio-gpu.c | ||
| virtio-gpu.h | ||
| virtio-input.c | ||
| virtio-input.h | ||
| virtio-mmio.c | ||
| virtio-net.c | ||
| virtio-net.h | ||
| virtio-pci-legacy.c | ||
| virtio-pci-modern.c | ||
| virtio-pci.c | ||
| virtio-pci.h | ||
| virtio-rng.c | ||
| virtio-rng.h | ||
| virtio-rpmb.c | ||
| virtio-rpmb.h | ||
| virtio-rpmsg.c | ||
| virtio-rpmsg.h | ||
| virtio-serial.c | ||
| virtio-serial.h | ||
| virtio-snd.c | ||
| virtio-snd.h | ||
| virtio.c | ||