KeyMapper icon indicating copy to clipboard operation
KeyMapper copied to clipboard

Intent API to enable/disable a specific key map

Open vaibhav423 opened this issue 1 year ago • 1 comments

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 .

vaibhav423 avatar Nov 08 '24 14:11 vaibhav423

@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 Up and Left to Volume Up
  • Map Down and Right to 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):

  1. Intent API to enable/disable a key map by key ID
  2. A global variable or condition system (similar to Tasker) that allows toggling key maps based on context. something like tasker variable

vaibhav423 avatar May 25 '25 13:05 vaibhav423

implemented

sds100 avatar Oct 15 '25 19:10 sds100