doc:appunti:android:osmand_remote_controller
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
doc:appunti:android:osmand_remote_controller [2020/02/04 09:45] – [Other remote controllers] niccolo | doc:appunti:android:osmand_remote_controller [2020/02/24 15:33] – [Remapping the controller keys (root required)] niccolo | ||
---|---|---|---|
Line 104: | Line 104: | ||
In theory - to remap the functions of our controller - it should be possible to provide a **specific keylayout file** for just this controller: Android' | In theory - to remap the functions of our controller - it should be possible to provide a **specific keylayout file** for just this controller: Android' | ||
- | So we have to change the **Generic.kl** file, redefining some ScanCodes and axis (the rest of the file must remain untouched): | + | So we have to change the **/ |
< | < | ||
- | key 305 MINUS | + | key 304 |
- | key 307 PLUS | + | key 305 |
+ | key 307 PLUS | ||
+ | key 308 PLUS | ||
axis 0x00 Y | axis 0x00 Y | ||
axis 0x01 invert X | axis 0x01 invert X | ||
</ | </ | ||
+ | |||
+ | **NOTICE**: I have redefined scancodes **304** and **308** as **duplicates** of 305 and 307. This is because the default action for scancode 304 was **BUTTON_A**, | ||
This change have the side effect to remap all the external keyboards that we will connect to our Android device! | This change have the side effect to remap all the external keyboards that we will connect to our Android device! |
doc/appunti/android/osmand_remote_controller.txt · Last modified: 2020/02/24 15:35 by niccolo