Quote:
Originally Posted by MaPePeR
Thanks for the good answer, geekmaster.
If the keyboard is missing special keys: add them. its java, we can replace java functionality.
|
You can replace java functionality for java programs, but for compiled C programs such as this one, how can we use it in a simple and reliable way?
We could use a client/server method where a java "keyboard manager" program passes pressed keys to a native-mode (compiled C) program (perhaps through a shared file). But that is not simple, and may break on some kindle models or firmware versions.
I want my programs to run on all kindle models and firmware versions, with little or no awareness of WHICH kindle they are running on. I keycode differences by detecting the model only during program initialization and selecting a keycode translation table for later use. I also select which kind of eink update calls to do during initialization. The main code body should not care which kindle it runs on.
P.S. The best thing about standards is that there are so many to choose from.