AutoHotkey-Midi icon indicating copy to clipboard operation
AutoHotkey-Midi copied to clipboard

Question about Keywait

Open Yoksven opened this issue 11 months ago • 0 comments

First of, thanks for putting effort into this. I think it's a great idea to use midi devices for hotkeys. But I have a question. I'm not a programmer, I'm just dabbling into AHK as much as I need to and learn some things here and there, so maybe it has an obvious answer that isn't obvious to me. So, some of my scripts heavily rely on the Keywait functionality. I don't expect it to just work with your midi input script out the gate, but is it possible to have some workaround, maybe with if or while statements, to get similar functionality to Keywait (executing only if a button was held for x milliseconds / waiting for a button to be released before doing the next part)? I'm not asking you to do it, I just want to know if it's possible without any major changes to the way your script works, so I could decide if I should try to figure these things out and try to get them to work or it's just a non-starter, and I just shouldn't put anything with Keywait onto midi devices.

Yoksven avatar Mar 09 '24 17:03 Yoksven