houmain / keymapper

A cross-platform context-aware key remapper.
GNU General Public License v3.0
260 stars 22 forks source link

Long press support #32

Closed niwla23 closed 1 year ago

niwla23 commented 2 years ago

Add a syntax and feature to handle a key long press. Would be useful for action keys. (e.g. turning lights on or off, ctrl c/v)

I propose a syntax like this:

Hold{C} >> (Control){C}
Hold{A, 3000} >> F13 // optional hold time as seconds parameter
Hold{Q} >> (Alt){F4}
houmain commented 1 year ago

Hi, this should work now in the 2.4.0 release. See No key.

niwla23 commented 1 year ago

Thank you :heart: ! I will check it out.

niwla23 commented 1 year ago

guess this can be closed @houmain ?