zocker-160 / keyboard-center

Application for mapping macro keys on Logitech keyboards
GNU General Public License v3.0
65 stars 2 forks source link

Feature Request: Distinguish between key-up and key-down #65

Closed drunken-dwarf closed 2 weeks ago

drunken-dwarf commented 2 months ago

It would be nice if we could send only key up/down inputs. That way one could create macros where keys are pressed for an exact amount of time.

Example sequence:

Key-down: e Sleep 175ms Key-up: e

zocker-160 commented 2 months ago

Accepted, but as with the other currently pending feature requests, I sadly currently don't have the time to work on this.

Being able to differentiate between key click, down and up will also require changes to the config file format, which is already quite a mess.

zocker-160 commented 2 weeks ago

With v2 I have added lua scripting which allows you to do this. I know it is not exactly what you asked for, but if I added every single request for special behavior, I would end up with a huge confusing list of checkboxes.

You can find an example script for keyup / keydown and delay in the examples here and here.