Request is only sent after button is released
Opened this issue · 1 comments
vostrnad commented
When pressing the button with an API Request action, the request is not sent until after the button is released. I don't think there's any reason to wait for the release.
wiretail commented
FYI, it's pretty easy to change these however you like, and this one is simple:
- Open in a text editor:
- (win) "%appdata%\Elgato\StreamDeck\Plugins\com.github.mjbnz.sd-api-request.sdPlugin\app.js"
- (mac) "~/Library/Application Support/com.elgato.StreamDeck/Plugins/com.github.mjbnz.sd-api-request.sdPlugin\app.js"
- Change line 16 where it says "com.github.mjbnz.sd-api-request.keyUp" to "com.github.mjbnz.sd-api-request.keyDown".
Note: Unless you edit the rest of the file to match, leave "action.onKeyDown(jsonObj)" on the next line alone...it's just a name, and doesn't change how works.
- Quit the Streamdeck app and restart it. Should work on keyDown now.