qt: Fix some Haiku keycodes, move them to a header and add key name comments

This commit is contained in:
RichardG867
2023-04-09 18:08:03 -03:00
parent b904636fe1
commit 660856d6ec
3 changed files with 115 additions and 112 deletions

View File

@@ -1,4 +1,4 @@
std::array<uint32_t, 127> cocoa_keycodes = { /* key names in parentheses are not declared by Apple headers */
static std::array<uint32_t, 127> cocoa_keycodes = { /* key names in parentheses are not declared by Apple headers */
0x1e, /* ANSI_A */
0x1f, /* ANSI_S */
0x20, /* ANSI_D */