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 revision | ||
doc:appunti:android:osmand_remote_controller [2020/02/04 10:43] – [Using OsmAnd with a Remote Controller] niccolo | doc:appunti:android:osmand_remote_controller [2020/02/24 16:35] (current) – [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 | ||
</ | </ | ||
- | This change have the side effect to remap all the external | + | **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 | ||
===== Key Mapping Test ===== | ===== Key Mapping Test ===== | ||
Line 124: | Line 128: | ||
===== Other remote controllers ===== | ===== Other remote controllers ===== | ||
- | * **[[https:// | + | * **[[https:// |
* **[[https:// | * **[[https:// | ||
doc/appunti/android/osmand_remote_controller.1580809433.txt.gz · Last modified: 2020/02/04 10:43 by niccolo