OK, I've implemented it as physkeyb improvement, download the new version here:
https://code.google.com/p/kindle-cs/...q=physkeyb_3.4
After installing delete file keyboard/keyboard-european.txt and replace keyboard/keyboard.txt with this (change the keys if you want):
Code:
enabledonstart=true
w=#f103
x=#f108
a=#f105
d=#f106
s=#f194
That means:
When W is pressed, send key code 103 (Up) to /proc/fiveway
When X is pressed, send key code 108 (Down) to /proc/fiveway
When A is pressed, send key code 105 (Left) to /proc/fiveway
When D is pressed, send key code 106 (Right) to /proc/fiveway
When S is pressed, send key code 194 (Select) to /proc/fiveway
This mapping is enabled on start, to disable/reenable press Shift-Space.
Changelog message:
Quote:
physkeyb:
- Reformatted java sources
- Added option enabledonstart to keyboard.txt
- Added ability to send low-level key events: #<target flag><key code>
Examples: w=#f103
- Send code 103 (Up) to /proc/fiveway when key W is pressed
o=#v114
- Send code 114 (Volume-) to /proc/volume when key O is pressed
f=#k191
- Send code 191 (RightNextPage) to /proc/keypad when key F is pressed
See https://github.com/dpavlin/k3libre/b...ts/keydefs.ini
|