KeyMapper
KeyMapper copied to clipboard
No other buttons being pressed constraint
Say i press shift tab, but i have a keymap for short press tab... Both actions would be launched, and that would make it a pain to use. This is why so many people dont do things like that. This would add the ablility to have more than twice as many keymaps. The current action is that no matter what other key is pressed, it will still preform the action. I think it would be nice if we had options for "all keys", and then the ability to whitelist and blacklist keys. This was probably written in bad english as i rushed to write this...
I'm facing similar issue with trying to assign a trigger for long press and short press on the same button. It might be the solution is to give the option to set on a button release/key up or to act just on the initial press/key down.
@gamesfrager can you send a back up of your key maps so I can reproduce this issue. follow this guide https://docs.keymapper.club/user-guide/backup-restore.html
I have attached the maps export. The one I setup as an example is the h
key for next and previous track.
If I press h
then next track works, however, long pressing h
doesn't bring previous track and instead it performs next track still.
I hope this helps, thanks.
https://drive.google.com/file/d/1DTi4XmYeT7snEc3QfwiQnqhSAF6ixGFO/view?usp=sharing
I can't see that h
trigger that you mentioned. Can you try this alpha apk and see if the issue still happens. https://github.com/sds100/KeyMapper/suites/3002731858/artifacts/67908909
Still happening. I have made sure the exiting Key Mapper accessibility is off and I have paused it. Then on this alpha release I made sure accessibility is enabled and it's working.
I have set h
to do next track on short press, and next track on log press. Still performing next track when pressing and holding h
.
My only guess seems that the app triggers the map on key-down not key-up? Thanks.
I'm facing similar issue with trying to assign a trigger for long press and short press on the same button.
I long to be able to do this too. Any update on this, @sds100?
@gamesfrager, I don't know if they work on non-Samsung phones, but you can create a same-key combo trigger with the bxActions or sideActions apps by long-time XDA developer jawomo. You have to run either in parallel with Key Mapper, which works fine but is less than ideal...especially since I'd rather be promoting open source projects.
I would like something like this too.
On Linux I remap caps to escape if it's pressed for a short time and ctrl if it's held down and I'd like to do the same on Android.
However, adding one mapping from short press camera -> esc and another from hold down camera -> hold down ctrl seems to only send an esc when I press caps no matter how long I hold it down for.