2
0
mirror of https://github.com/koreader/koreader synced 2024-11-16 06:12:56 +00:00
koreader/frontend/device/kindle/event_map_keyboard.lua
NiLuJe 14cd6febbb Kindle Legacy: Cleanup key mappings
The K3 has a mapping similar to the K4, not to the DX & K2.

Fix #7561
2021-04-18 01:03:33 +02:00

31 lines
924 B
Lua

--[[
event map for Kindle devices on FW 2.x
--]]
return {
[2] = "1", [3] = "2", [4] = "3", [5] = "4", [6] = "5", [7] = "6", [8] = "7", [9] = "8", [10] = "9", [11] = "0",
[16] = "Q", [17] = "W", [18] = "E", [19] = "R", [20] = "T", [21] = "Y", [22] = "U", [23] = "I", [24] = "O", [25] = "P",
[30] = "A", [31] = "S", [32] = "D", [33] = "F", [34] = "G", [35] = "H", [36] = "J", [37] = "K", [38] = "L", [14] = "Del",
[44] = "Z", [45] = "X", [46] = "C", [47] = "V", [48] = "B", [49] = "N", [50] = "M", [52] = ".", [53] = "/",
[28] = "Press",
[42] = "Shift",
[56] = "Alt",
[57] = " ",
[90] = "AA",
[91] = "Back",
[92] = "Press",
[94] = "Sym",
[98] = "Home",
[104] = "LPgFwd",
[105] = "Left",
[106] = "Right",
[109] = "LPgBack",
[114] = "VMinus",
[115] = "VPlus",
[122] = "Up",
[123] = "Down",
[124] = "RPgFwd",
[139] = "Menu",
}