Merge pull request #7 from dpavlin/master

scp all *.lua files to Kindle
pull/2/merge
HW 13 years ago
commit be6e493f01

@ -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/

@ -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

Loading…
Cancel
Save