2
0
mirror of https://github.com/koreader/koreader synced 2024-10-31 21:20:20 +00:00
Commit Graph

28 Commits

Author SHA1 Message Date
Qingping Hou
c41e3e75a3 add: demo for fixing #85, #86 2012-04-06 13:51:37 +08:00
Dobrica Pavlinusic
71c36064e2 added K3 left page keys for emulator on F3 and F4 2012-03-27 18:31:41 +02:00
traycold
bfcad367bb using font module for getting fonts (commit f95231d789)
renamed function names using camelCase (issue #62)
2012-03-20 20:15:24 +01:00
traycold
943b511b7c complete implementation of issue #55
created a help page
2012-03-13 22:51:25 +01:00
traycold
abf9696221 Merge branch 'master' of git://github.com/hwhw/kindlepdfviewer.git
Conflicts:
	reader.lua
	unireader.lua
2012-03-13 22:14:26 +01:00
traycold
3fbb39fc05 Proof of concept for issue #55.
Still to be completed.
2012-03-10 10:28:54 +01:00
Qingping Hou
319826c385 mod: screen rotation implemented by ioctl
Now you get a instance rotate :) With only one bug.
I have to restore to previous rotation state of the
native system after exists. Because the native system
does poll the new rotation state that changed by ioctl.

Currently, I don't know how to force the native system
to detect the changes.
2012-03-09 18:34:56 +08:00
Qingping Hou
d2aaf15dce add: screen.lua
* move rotation mode to global variable, now check rotation
with Screen.cur_rotation_mode

* move screenRotate to screen module so other UIs can use it.
2012-03-09 09:40:46 +08:00
Qingping Hou
3dbf9877bc add: 90 degree rotation support
demo for issue #51
2012-03-08 23:28:16 +08: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
Dobrica Pavlinusic
b8cc9c9a36 exit reader on HOME key 2012-03-04 13:06:35 +01:00
Qingping Hou
6614bbe33d mod: handle shift and alt key events in adjustKeyEvents() 2012-03-02 18:38:34 +08:00
Qingping Hou
aa5806accd Merge branch 'master' of https://github.com/hwhw/kindlepdfviewer
Conflicts:
	pdfreader.lua
2012-03-02 13:58:39 +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
Dobrica Pavlinusic
9a90b4d599 move FW_PRESS to End in emulation 2012-02-29 16:53:40 +01:00
Qingping Hou
417ef640a7 Merge branch 'rotate'
Conflicts:
	filechooser.lua

* merge rotate branch with search branch
* fix font display bug in font menu

not fully tested the new rotation implemention yet.
2012-02-19 15:29:51 +08:00
Qingping Hou
29a9996fb2 mod: inputbox finished 2012-02-18 20:32:38 +08:00
Qingping Hou
3bc71354ed mod: add KEY_DEL for EMU mode 2012-02-18 20:07:28 +08:00
Qingping Hou
8fdb0a4c3e add: demo for inputbox 2012-02-18 18:21:03 +08:00
Qingping Hou
262b8113f7 add: adjustFWKey(code)
adjustFWKey() will change code event for five way keys
according to current rotation mode. Add this to the
input.waitForEvent loop and your UI can navigate properly
in different rotation mode.
2012-02-17 14:52:54 +08:00
Qingping Hou
4b93d2c71b add: F key code in EMU mode 2012-02-16 15:18:28 +08:00
Dobrica Pavlinusic
c2207f0e67 rotate page using J and K keys 2011-12-23 20:48:02 +01:00
HW
5e62e3e4af file mode fixes, added shebang to rendertext example script 2011-12-08 01:25:42 +01:00
HW
a86352dbc4 added enter key for SDL/emu mode 2011-12-08 00:40:44 +01:00
Dobrica Pavlinusic
04087c072f added altmode for smaller pans and zooms 2011-11-26 15:52:20 +01:00
Dobrica Pavlinusic
bdda25f284 move gamma controlls to volume or F11/F12 in emu
Idea is to fee 5way presses for pan/zoom operations in future
2011-11-21 19:30:17 +01:00
HW
a6541596ce added multiple zoom variants
also, added key codes from launchpad sources.
thus, a few constants change their names.
These are the current keys:
PGFWD = next page
PGBCK = previous page

SHIFT+PGFWD = zoom in
SHIFT+PGBCK = zoom out

A = fit to page
S = fit to page width
D = fit to page height

SHIFT+A = fit to page content
SHIFT+S = fit to page content width
SHIFT+D = fit to page content height

SHIFT+FW_UP = Gamma + 0.2
SHIFT+FW_DOWN = Gamma - 0.2
2011-11-21 01:02:03 +01:00
HW
a07ea2f8b8 factored out key config and tilecache 2011-11-20 21:40:56 +01:00