StreamController / OSPlugin

GNU General Public License v3.0
4 stars 1 forks source link

Cannot send the high range of function keys #7

Open milochristiansen opened 4 months ago

milochristiansen commented 4 months ago

The keys F13-F24 are defined valid keys and enjoy some niche use by people looking to bind hotkeys to actions without getting into the space already defined on their keyboard.

Not only does this plugin make it extraordinarily hard to bind a keypress that is not available on a physical key (I had to use xdotool to send a fake keypress event), but it seems to disallow these keys outright (and perhaps others that are in the legal range but not commonly bound).

While a way to bind keys other than sending those events to the tool would be nice, at a minimum it should at least be capable of mimicking events once it does record them.


Here is the command I used to generate a test keystroke, in case it is helpful:

xdotool windowactivate --sync "$(xdotool search --name "Hotkey" | head -1)" key F14

F14 is defined as 0xffcb over here, and seems to send correctly as best as I can determine. Sending it by number makes no difference, and sending other more common keys by number works as expected. I'm guessing whatever library you are using for input isn't very imaginative.

milochristiansen commented 4 months ago

As a side note, streamdeck-ui does support these keys, but it has a host of other issues that make it unsuitable (such as no hold when held functionality, etc). It does have a very nice manual key entry UI though...

Core447 commented 4 months ago

Ok, I think I'm going to add an additional way of adding those keys.

Core447 commented 2 months ago

I now added a row with some special keys with 87bcbb9db798901af672aefce6604dea48e6b38d. It's now available in the store