mirror of
https://github.com/koreader/koreader
synced 2024-11-16 06:12:56 +00:00
107156c0a8
FocusManager: fix round x use y layout FocusManager: add tab and shift tab focus navigation support FocusManager: handle Press key by default FocusManager: make sure selected in instance level FocusManager: add hold event support FocusManager: Half move instead of edge move FocusManager: add keymap override support FocusManager: refocusWidget will delegate to parent FocusManager Focusmanager: refocusWidget can execute on next tick inputtext: can move out of focus on back inputtext: fix cannot exit for non-touch device inputtext: fix cannot input text with kindle dx physical keyboard fontlightwidget: add non-touch support datetimewidget: add non-touch support datetimewidget: fix set date failed in kindle DX, fix datetimewidget month range to 1~23 by default datetimewidget: make hour max value to 23 multiinputdialog: add non-touch support checkbox: focusable and focus style virtualkeyboard: no need to press two back to unfocus inputtext virtualkeyboard: collect FocusManager event key names to let VirtualKeyboard disable them openwithdialog: add non-touch support inputdialog: can close via back button enable all InputDialog and MultiInputDialog can be close by back keyboardlayoutdialog: non-touch support readertoc: non touch device can expand/collapse in toc bookstatuswidget: non touch support keyvaluepage: non-touch support calendarview: non-touch support
88 lines
2.3 KiB
Lua
88 lines
2.3 KiB
Lua
return {
|
|
|
|
[ 97] = "A", [ 98] = "B", [ 99] = "C", [100] = "D", [101] = "E", [102] = "F",
|
|
[103] = "G", [104] = "H", [105] = "I", [106] = "J", [107] = "K", [108] = "L",
|
|
[109] = "M", [110] = "N", [111] = "O", [112] = "P", [113] = "Q", [114] = "R",
|
|
[115] = "S", [116] = "T", [117] = "U", [118] = "V", [119] = "W", [120] = "X",
|
|
[121] = "Y", [122] = "Z",
|
|
|
|
[48] = "0", [49] = "1", [50] = "2", [51] = "3", [52] = "4",
|
|
[53] = "5", [54] = "6", [55] = "7", [56] = "8", [57] = "9",
|
|
|
|
[33] = "!",
|
|
[34] = "\"",
|
|
[35] = "#",
|
|
[36] = "$",
|
|
[37] = "#",
|
|
[38] = "&",
|
|
[39] = "'",
|
|
[40] = "(",
|
|
[41] = ")",
|
|
[42] = "*",
|
|
[43] = "+",
|
|
[44] = ",",
|
|
[45] = "-",
|
|
[46] = ".",
|
|
[47] = "/",
|
|
|
|
[58] = ":",
|
|
[59] = ";",
|
|
[60] = "<",
|
|
[61] = "=",
|
|
[62] = ">",
|
|
[63] = "?",
|
|
[64] = "@",
|
|
|
|
[91] = "[",
|
|
[92] = "\\",
|
|
[93] = "]",
|
|
[94] = "^",
|
|
[95] = "_",
|
|
[96] = "`",
|
|
|
|
[ 8] = "Backspace", -- Backpace
|
|
[ 9] = "Tab", -- Tab
|
|
[13] = "Press", -- Enter
|
|
[27] = "Back", -- Escape
|
|
[32] = " ", -- Spacebar
|
|
[127] = "Del",
|
|
|
|
[1073741882] = "Menu", -- F[1]
|
|
[1073741883] = "Power", -- F[2]
|
|
[1073741884] = "F3", -- F[3]
|
|
[1073741885] = "F4", -- F[4]
|
|
[1073741886] = "F5", -- F[5]
|
|
[1073741887] = "LPgBack", -- F[6]
|
|
[1073741888] = "LPgFwd", -- F[7]
|
|
[1073741889] = "F8", -- F[8]
|
|
[1073741890] = "F9", -- F[9]
|
|
[1073741891] = "F10", -- F[10]
|
|
[1073741892] = "VPlus", -- F[11]
|
|
[1073741893] = "VMinus", -- F[12]
|
|
|
|
[1073742049] = "Shift", -- left shift
|
|
[1073742053] = "Sym", -- right shift
|
|
[1073742050] = "Alt", -- left alt
|
|
[1073742054] = "AA", -- right alt key
|
|
[1073741925] = "ContextMenu", -- Context menu key
|
|
[1073741942] = "ContextMenu", -- Context menu key
|
|
[0x400000E0] = "Ctrl", -- Left Ctrl
|
|
[0x400000E4] = "Ctrl", -- Right Ctrl
|
|
[1073742051] = "Win", -- Left Win/Cmd
|
|
[1073742055] = "Win", -- Right Win/Cmd
|
|
|
|
[1073741906] = "Up", -- arrow up
|
|
[1073741899] = "RPgBack", -- normal PageUp
|
|
[1073741904] = "Left", -- arrow left
|
|
[1073741903] = "Right", -- arrow right
|
|
[1073741905] = "Down", -- arrow down
|
|
[1073741902] = "RPgFwd", -- normal PageDown
|
|
|
|
[1073741898] = "Home",
|
|
[1073741901] = "End",
|
|
[1073741897] = "Insert",
|
|
|
|
[1073741894] = "PrintScreen",
|
|
[1073741895] = "ScrollLock",
|
|
}
|