Thread: Coolreader
View Single Post
Old 03-17-2011, 12:42 PM   #61
rkomar
Wizard
rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.
 
Posts: 3,058
Karma: 18821071
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
Quote:
Originally Posted by Roos View Post
What i am missing is a key_home for the home button on the 90x
and the 2 + / - buttons under the volume ones (or above?) Pah, have no idea what they are for, never used them except for booting with firmware change

So, any ideas or suggestions to make the list complete?
I would guess that the Home button is handled internally by Inkview applications and never passed to the event handler, so they left it out of the definitions. As for the two +/- magnification buttons, I think they will probably be defined within the next SDK release. If you're in a rush, you could hack the grays or inkdemo program to write out the code for each keypress event, and then push each button and see what it says.

The +/- magnification buttons do currently work within at least some of the various default reader programs (maybe all of them, I can't remember).

Edit: Okay, I did it myself. Home -> 0x1a, Mag+ -> 0x07, Mag- -> 0x06. The Home keypress _is_ passed to the event handler, but the application quits and jumps to the home screen anyway, so it's not really useful within Inkview-based programs. Maybe it's different for Gtk-based programs; I don't know.

Last edited by rkomar; 03-17-2011 at 02:21 PM. Reason: Added test results
rkomar is offline   Reply With Quote