Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request is only sent after button is released #12

Open
vostrnad opened this issue May 27, 2023 · 1 comment
Open

Request is only sent after button is released #12

vostrnad opened this issue May 27, 2023 · 1 comment

Comments

@vostrnad
Copy link

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
Copy link

wiretail commented Nov 11, 2023

FYI, it's pretty easy to change these however you like, and this one is simple:

  1. 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"
  1. 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.

  1. Quit the Streamdeck app and restart it. Should work on keyDown now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants