Problem with hotkeys / programmable keyboard

Supermicha

New Member
Hello, I have a problem with Hotkeys in OBS. (on Windows 10)

My Situation:
I have a programmable Keyboard (like this here)

It works without any specific driver or software. The shortcuts are hardcoded in the keyboard and emulates several key-presses at once.

If OBS is on focus, every programmed Hotkey works fine.

For example:
I programm "Ctrl + F12" on the keyboard.
  • I can set the Hotkey in the menu correctly to "Ctrl + F12" by pressing my Hotkey-Button.
  • I can use the Hotkey by pressing my Hotkey-Button if OBS in in focus.
  • I can use the Hotkey by pressing "Ctrl" + "F12" on my regular keybord even when OBS is in background.
  • I can't use the Hotkey by pressing my Hotkey-Button if OBS in background.
If i set simple Shotcuts like only "F12" or even "a" or "PgDn" it works fine (in and outside OBS)

Exampe 2:
if I set an Hotkey "Ctrl+F12" and another Hotkey "F12":
OBS is active:​
  • The "Ctrl+F12" Hotkey-Button an the "F12" Hotkey-Button behaves different (can start different actions) like expected.
  • I can klick the "Ctrl"-Button on my regular keybord together with the "F12"-Hotkey-Button and the "Ctrl+F12" action is triggerd, like expected.
OBS is in background:​
  • the "Ctrl+F12" Hotkey-Button starts the same action like the simple "F12" Hotkey-Button. (OBS seems to recieve only the F12)
  • If I klick the "Ctrl"-Button on my regualr keyboard together with the "Ctrl-F12"-Hotkey-Button, OBS triggers the action that is set for "Ctrl+F12"
It seems to me, that the "Ctrl" or even "Alt" "Shift" "AltGr" is not noticed by OBS if it is send by the Hotkey-Button and OBS is in background.

In OBS settings for the Hotkeys are set to "disable never" (simple keys works fine, as mentioned above)
I tryed to run OBS as Admin, it doesn't change anything.

I found exactly the same issue on reddit, which is over 2 years old
https://www.reddit.com/r/Twitch/comments/bl9zvy/hotkeyobs_problem_programmable_keyboards_hotkeys/
Even there is no solution.

I also tryed to contact the manufacturer of the keyboard, but he didn't answer. (Think they have only B2B-Support and a single consumer don't care)

Maybee anyone has a solution??
 
How detailed can the keys on the programmable keyboard be set?
For example, is it possible to program distinct key press sequences?
If yes, try to program this sequence for CTRL-F12:
CTRL down, F12 down, delay 20 ms, F12 up, CTRL up

If it is possible to differ between right and left ctrl key, try this:
LEFT CTRL down, F12 down, delay 20 ms, F12 up, LEFT CTRL up
 
Yepp. I think so, too.

I remember that Ctrl- and Alt-Keys are handled different (against other keystrokes) within the windows keyboard event manager. If you press two keys naturally by "human speed" it may be generated different keyboard-events than if a specially crafted keyboard (like yours) send them at-once.

Finally it then depends how (and how fast) the event manager does hand these actions over to the different opened windows (may depend which windows has the foreground and which the background focus, even too).

So it can be a matter of speed. Nobody said the microsoft programmed perfectly. =D
 
Hey, sorry for my late answer, (I thought I get an email if someone replys)

@koala und @konsolenritter
you were both right.

Your answers let me look deeper into the manual.
specially the combination of CTRL and an F-Key makes problems...
I found:
...you have to assign make+break code.
Example: {Ctrl+{{F13}{BreakF13}}

Unfortunately the firmware version of my keyboard doesn't support these F-Break-Codes.
(and there is no chance to update)

Originally I hoped to use the F13 - F24 keys, to be save to trigger no other actions...

Now I use combinations of CTRL-ALT-(letter) for the Hotkeys
this works as exspected.

Much thanks for your support.
 
Back
Top