2
0
mirror of https://github.com/koreader/koreader synced 2024-11-13 19:11:25 +00:00
Commit Graph

10 Commits

Author SHA1 Message Date
Dobrica Pavlinusic
796b42cc36 track last shortcut assigned and ignore other keys
This change also takes advantage of fact that ev.code increases by 1
with each key in same row which removes a lot of duplication
2012-03-06 19:51:09 +01:00
Dobrica Pavlinusic
88d5f578f8 added last row of keyboard for DXG
DXG has bigger screen, so we have to make sure that we don't have more
than 30 options on screen (or we will run out of shortcuts)
2012-03-06 14:37:00 +01:00
Qingping Hou
89cfac17bd mod: change shortcuts for menu items
Uses Q-P and A-Del
2012-03-06 19:28:12 +08:00
Qingping Hou
25d014634b mod: add 5 pixel margin to the left 2012-03-06 15:50:00 +08:00
Qingping Hou
330d08de68 mod: change variable name in selectmenu.lua 2012-03-06 12:27:19 +08:00
Qingping Hou
6a1b71eaf3 mod: add fast menu item access shortcut 2012-03-06 12:25:04 +08:00
Qingping Hou
6614bbe33d mod: handle shift and alt key events in adjustKeyEvents() 2012-03-02 18:38:34 +08:00
Qingping Hou
53d4016c64 fix: move shiftmode and altmode to global
now shiftmode and altmode is recoreded in Keys module.  So all the UIs
are sharing these two mode instead of remembering their own. These fix
the bug in UI switchings.

For instance, you use combo 'Alt'+'b' to fire up some menu in pdfreader,
the altmode is set, but the alt key was released after the menu show
up. Then the key release event will only be captured by the menu. So
after you exit from the menu, the altmode is still set in pdfreader,
which is not what we want.
2012-03-02 13:46:15 +08:00
Qingping Hou
fa5b0c9874 mod: toc and jumpstack refactored 2012-02-26 09:47:54 +08:00
Qingping Hou
02713ae2ab add: demo for jumpstack 2012-02-26 08:28:03 +08:00