Thread: Coolreader
View Single Post
Old 03-10-2011, 02:08 PM   #24
kacir
Wizard
kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.
 
kacir's Avatar
 
Posts: 3,450
Karma: 10484861
Join Date: May 2006
Device: PocketBook 360, before it was Sony Reader, cassiopeia A-20
Working keymaps.ini for PB360

I have been trying and experimenting.
Here is keymaps.ini that is usable on PB360.

In main view - reading book.
Upper big button = page forward
Lower big button = page back
D-pad Right = page forward
D-pad Left = page back
D-pad Up = Increase font size
D-pad down = Decrease font size
OK = menu

in menu and dialogs
Upper big button = OK. Accept changes in this menu and go to upper level menu
Lower big button = Cancel. Discard changes in this menu and go to upper menu level
D-pad Right = next page in multi-page menu
D-pad Left = previous page in multi-page menu
D-pad Up = Go up - that is select menu item above this one
D-pad down = Go down - that is select menu item below this one
OK = Enter. Execute menu item or go to submenu

One thing I was unable to do is long press of keys.
According to documentation the syntax is like this:
KEY_PREV, LONG = DCMD_PAGEUP, 10
It just doesn't work.

There are many, many more functions than physical buttons, so you will have to remap according to your usage. You can map right Right and Left to select links in Book view mode and Up and Down to follow the link and go back. See file keydefs.ini, it should be obvious what various items do.

Use my first attempt to experiment. I have changed the file perhaps 10 times before I found working combination of keys. If you make interesting changes, post your version.


Thank you reader42 for great work.
Coolreader is perfectly usable on PB630 even in this early beta stage.
Attached Files
File Type: zip keymaps.ini.zip (797 Bytes, 483 views)

Last edited by kacir; 03-10-2011 at 02:55 PM.
kacir is offline   Reply With Quote