mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Merge pull request #7 from dpavlin/master
scp all *.lua files to Kindle
This commit is contained in:
2
Makefile
2
Makefile
@@ -103,4 +103,4 @@ thirdparty: $(MUPDFLIBS) $(THIRDPARTYLIBS) $(LUALIBS)
|
||||
|
||||
install:
|
||||
# install to kindle using USB networking
|
||||
scp kpdfview reader.lua alt_getopt.lua root@192.168.2.2:/mnt/us/test/
|
||||
scp kpdfview reader.lua alt_getopt.lua keys.lua tilecache.lua root@192.168.2.2:/mnt/us/test/
|
||||
|
||||
2
keys.lua
2
keys.lua
@@ -119,4 +119,6 @@ function set_emu_keycodes()
|
||||
KEY_S = 39
|
||||
KEY_D = 40
|
||||
KEY_SHIFT = 50
|
||||
KEY_VPLUS = 95 -- F11
|
||||
KEY_VMINUS = 96 -- F12
|
||||
end
|
||||
|
||||
@@ -229,9 +229,9 @@ function mainloop()
|
||||
end
|
||||
elseif ev.code == KEY_BACK then
|
||||
return
|
||||
elseif ev.code == KEY_FW_UP then
|
||||
elseif ev.code == KEY_VPLUS then
|
||||
modify_gamma( 1.25 )
|
||||
elseif ev.code == KEY_FW_DOWN then
|
||||
elseif ev.code == KEY_VMINUS then
|
||||
modify_gamma( 0.8 )
|
||||
elseif ev.code == KEY_A then
|
||||
if shiftmode then
|
||||
|
||||
Reference in New Issue
Block a user