Menu

#40 Configuring keys via config.in?

v1.0 (example)
open
nobody
None
5
2021-04-04
2021-04-04
No

i have been using CoolReader on the Nook GlowLight, an eInk device running Android. In general, it's been excellent. However, there are two hardware buttons on the device that are not napped to Volume or PgDn or PgUp. By default, they are mapped to F11 and F12. Can I use the cr3.ini file to use these buttons to scroll pages?

Perhaps by changing these lines?
app.key.action.press.106=PAGE_DOWN
app.key.action.press.105=PAGE_UPapp.key.action.press.106=PAGE_DOWN
app.key.action.press.105=PAGE_UP

I'm not sure what the numeric keycodes are for F11 or F12 - is that a standard Android thing that i can look up?

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.