duckyPad icon indicating copy to clipboard operation
duckyPad copied to clipboard

Add Multiple key support back in EMUK (or reviving the HOLD)

Open jupiterbjy opened this issue 1 year ago • 3 comments

Suggestion

Either of this suggestions would make my duckypad usable again, or I might need to downgrade firmware (hope it works!)

  1. Add back HOLD's 2 (or more the better) key support in EMUK

    • Might break compatibility?
  2. Allow use of multiple EMUK lines in single button

  3. Revive deleted HOLD


Encountering issue

I was delaying update of firmware and just recently updated, and found out HOLD SHIFT SPACE is now EMUK SHIFT SPACE and syntax is no longer valid.

Previously HOLD command could held up to 2 keys: https://github.com/dekuNukem/duckyPad/blob/a2531bf4b8fe2d8dca877a265897d728ad84f521/duckyscript_info.md?plain=1#L352

Now, since EMUK don't support this and even worse there can't be 2 EMUK in a button, I have no way of setting Shift + Space hold down hotkey for arbitrary canvas rotation action, which looks like this:

Animation11

One could edit the hotkey in software they use but there's some softwares that does not allow this - and it doesn't sounds right to rely on AutoHotkey to reassign it just to make it reassigned on duckypad.


Attempted workaround

Since now Variables are added, I tried using variable & loop:

KEYDOWN SHIFT
KEYDOWN SPACE

WHILE $_READKEY != 0
    DELAY 50
END_WHILE

KEYUP SHIFT
KEYUP SPACE

Which actually does not work, as issue indicated on #144 I can't maintain the loop.

jupiterbjy avatar Aug 29 '23 15:08 jupiterbjy