timothycrosley / streamdeck-ui

A Linux compatible UI for the Elgato Stream Deck.
https://timothycrosley.github.io/streamdeck-ui/
MIT License
1.13k stars 241 forks source link

Add support for extra function keys (F13-F24). #246

Open sykesgabri opened 2 years ago

sykesgabri commented 2 years ago

Something I miss from the official Stream Deck software on Windows is the ability to involve the F13-F24 keys in keybinds.

Although these keys don't exist on the majority of keyboards, there were some that did have it, so Windows has support for those keys, and as far as I'm aware, Linux does too. Because of how most keyboards don't have these keys, no developers ever really bind them to anything, so if you needed a Stream Deck to trigger a keybind, you could set it to one of these keys and be confident that it wouldn't clash with anything else.

I've attempted this in streamdeck-ui only to find that it doesn't seem to support these keys, which means I have to make really overly complicated keybinds to make sure it doesn't trigger anything I don't want it to. If streamdeck-ui had support for the extra function keys, it would simplify custom keybind buttons a lot, and give users the peace of mind that nothing is going to get unintentionally triggered by their Stream Deck.

dodgyrabbit commented 2 years ago

The pynput library we use seem to support F13-F20. Can you confirm if you've tried those? It does not support F21-F24.

sykesgabri commented 2 years ago

I remember trying F13 at some point to no avail, but I'll make another attempt tomorrow when I've got time and let you know what happens.

sykesgabri commented 2 years ago

Sorry for taking a while to do this, things happened in life and I just kinda forgot. I've just tested this and the f13-f20 keys are still not able to be bound with streamdeck-ui. If you wish, I could make a video with proof.

sykesgabri commented 2 years ago

Didn't mean to close that, oops.

dodgyrabbit commented 2 years ago

Could you provide more detail on how exactly you are doing this? If my understanding is correct - you are telling some application to bind to F13 and then you want to press F13 on the StreamDeck. With regards to clashing - do you mean for example if you used F11, that it may trigger full screen mode if your browser happened to have focus?

Stormy178 commented 1 year ago

I don't know what it is behind the scenes, but I have the same issue. I've been trying to do this same thing so I can have a way to use PTT on Discord(as I have a Windows VM to play games, which I have my mouse and keyboard redirected to when it's on.) This is just a screenshot of what the console/terminal output is.

image

coolapso commented 1 year ago

hi, this project seems to be stale and a new fork as been made with the intention of replacing this one.

if this still an issue please reopen it at: https://github.com/streamdeck-linux-gui/streamdeck-linux-gui