mirror of
https://github.com/koreader/koreader
synced 2024-11-13 19:11:25 +00:00
14cd6febbb
The K3 has a mapping similar to the K4, not to the DX & K2. Fix #7561
30 lines
852 B
Lua
30 lines
852 B
Lua
--[[
|
|
event map for Kindle devices on FW 3.x & 4.x
|
|
--]]
|
|
|
|
return {
|
|
[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] = ".",
|
|
|
|
[28] = "Press", -- K3 (Enter)
|
|
[29] = "ScreenKB", -- K4
|
|
[42] = "Shift", -- K3
|
|
[56] = "Alt", -- K3
|
|
[57] = " ", -- K3
|
|
[102] = "Home",
|
|
[103] = "Up",
|
|
[104] = "LPgFwd",
|
|
[105] = "Left",
|
|
[106] = "Right",
|
|
[108] = "Down",
|
|
[109] = "RPgBack",
|
|
[126] = "Sym", -- K3
|
|
[139] = "Menu",
|
|
[158] = "Back",
|
|
[190] = "AA", -- K3
|
|
[191] = "RPgFwd",
|
|
[193] = "LPgBack",
|
|
[194] = "Press",
|
|
}
|