KeyMapper
KeyMapper copied to clipboard
Intent API to enable/disable a specific key map
Developer TODO (don't remove)
- [ ] update documentation I am trying to utilise , the key map on specific state/condition and couldn't find any intent to enable/disable a specific key, the closest one is to disable/enable all. This simple feature ,truly has a lot of potential .
@sds100, could you please take a look at this?
Potential Use Case:
Enable a single physical key to serve multiple functions.
i get this situation a lot of times when I need to use the same key multiple times with different actions , and where the existing conditions currently in the app doesn't satisfy my needs.
Example:
Using the Volume Up and Down buttons as directional keys (Up, Down, Left, Right).
To achieve this:
- Map
UpandLeftto Volume Up- Map
DownandRightto Volume Down- Then dynamically enable/disable specific key maps to switch between actions (e.g., via long-press or another trigger)
Suggested Feature Options (any one would be sufficient):
- Intent API to enable/disable a key map by key ID
- A global variable or condition system (similar to Tasker) that allows toggling key maps based on context. something like tasker variable
implemented