mirror of
https://github.com/koreader/koreader
synced 2024-11-16 06:12:56 +00:00
a60544b1ad
Currently only tested on Ubuntu-touch emulator with framework ubuntu-sdk-14.10 for armhf. The ubuntu-touch port is binary compatible with the Kobo port major changes in this PR are: 1. rename the emulator device to sdl device since both the emulator and the ubuntu-touch target use libsdl to handle input/output. 2. ubuntu-touch app has no write access to the installation dir so all write-outs should be in a seperate dir definded in `datastorage`.
34 lines
1.2 KiB
Lua
34 lines
1.2 KiB
Lua
return {
|
|
[ 4] = "A", [ 5] = "B", [ 6] = "C", [ 7] = "D", [ 8] = "E", [ 9] = "F",
|
|
[10] = "G", [11] = "H", [12] = "I", [13] = "J", [14] = "K", [15] = "L",
|
|
[16] = "M", [17] = "N", [18] = "O", [19] = "P", [20] = "Q", [21] = "R",
|
|
[22] = "S", [23] = "T", [24] = "U", [25] = "V", [26] = "W", [27] = "X",
|
|
[28] = "Y", [29] = "Z", [30] = "1", [31] = "2", [32] = "3", [33] = "4",
|
|
[34] = "5", [35] = "6", [36] = "7", [37] = "8", [38] = "9", [39] = "0",
|
|
|
|
[42] = "Back", -- Backspace
|
|
[40] = "Enter", -- Enter
|
|
[225] = "Shift", -- left shift
|
|
[55] = ".",
|
|
[56] = "/",
|
|
[229] = "Sym", -- right shift key
|
|
[226] = "Alt", -- left alt
|
|
[44] = " ", -- Spacebar
|
|
[58] = "Menu", -- F[1]
|
|
[59] = "Power", -- F[2]
|
|
[63] = "LPgBack", -- F[6]
|
|
[64] = "LPgFwd", -- F[7]
|
|
[68] = "VPlus", -- F[11]
|
|
[69] = "VMinus", -- F[12]
|
|
[230] = "AA", -- right alt key
|
|
[74] = "Home", -- Home
|
|
[82] = "Up", -- arrow up
|
|
[75] = "RPgBack", -- normal PageUp
|
|
[80] = "Left", -- arrow left
|
|
[79] = "Right", -- arrow right
|
|
[77] = "Press", -- End (above arrows)
|
|
[81] = "Down", -- arrow down
|
|
[78] = "RPgFwd", -- normal PageDown
|
|
[76] = "Del", -- Delete
|
|
}
|