keymapperorg / KeyMapper

An Android app that change what the buttons do on your devices!
http://docs.keymapper.club
GNU General Public License v3.0
1.29k stars 166 forks source link

Feature request: Ability to use one key multiple times in sequence mode #513

Closed getle87 closed 4 years ago

getle87 commented 4 years ago

Hello sds100,

currently I'm looking for a new app to replace the old Xposed Additions (development discontinued). Your app looks very promising for hardware key mapping tasks. There are many other key remapper apps in the store, but no one of them offers the ability to record own key sequences, but in your app this is possible. I only miss one function. Currently, each key can only be used once in recording a sequence trigger (e.g. Vol up + Vol down). Would it be possible to implement the function to use a key multiple times (e.g. Vol Up + Vol Down + Vol Up) to trigger an event? Can the timer (5s) then be reset until no new key is pressed?

current: current

feature request (screenshot modified): feature request

Sorry for my bad English, it's not my native language.

sds100 commented 4 years ago

Hello, I think I can add this but there will be one limitation. If you have a sequence trigger with multiple of the same key, all of those keys must have the same click type (short/long/double press).

E.g you couldn't have double press volume down + single press volume down but you could have double press volume down + double press volume down.

getle87 commented 4 years ago

Hello,

thank you very much for your fast reply. I think this limitation should be no problem.

sds100 commented 4 years ago

developer todo:

sds100 commented 4 years ago

the limitation is now that you can have multiple of the same key from the same device as long as they have the same click type. This doesn't affect you but this is information for me.

sds100 commented 4 years ago

implemented

getle87 commented 3 years ago

Thank you, the new feature is great. I bought you some coffee on ko-fi.com.