Hey!
I am currently developing a small hotkey app for a few friends of mine that takes a command from twitch chat and changes scenes based on commands (Via sending virtual keycodes to OBS via PostMessage from user32.dll) and at first I thought I had a bug in my app, but the bug Im encountering is there even if my app is not even running.
What I found is that hotkeys in OBS only work properly in the same session as they are set. After a restart of OBS the hotkeys only work if obs is NOT focused, if I click on OBS and make it the focused and active window, no hotkeys work, not from my app, not from my actual keyboard. The only way Ive found to fix this is to open the settings and rebind the hotkeys. When doing that, even if I just clear and set the exact same hotkey it was already set to, it works properly again, until I restart OBS...
Did I find a bug with it or is this something related to my OBS install?
Im running OBS Studio 20.0.1 (Newest version at time of posting) on Windows 10 1703 15063.608 (Newest non-insider build)
Ive verified that obs "sees" the same keys clicked both when its working properly and when its bugged using spy++ (Part of Visual Studio package) and I cant seem to find any other explanation than that OBS is having some sort of bug in the hotkey system? Seeing as how the bug is there even with my app not even running and using hotkeys straight from my actual keyboard..
edit: Forgot to add. When it is bugged it seems to detect NUMPAD 1 and 1 as the same key even tho they are reported as different keystrokes detected... A-Z hotkeys does not seem to work at all
I am currently developing a small hotkey app for a few friends of mine that takes a command from twitch chat and changes scenes based on commands (Via sending virtual keycodes to OBS via PostMessage from user32.dll) and at first I thought I had a bug in my app, but the bug Im encountering is there even if my app is not even running.
What I found is that hotkeys in OBS only work properly in the same session as they are set. After a restart of OBS the hotkeys only work if obs is NOT focused, if I click on OBS and make it the focused and active window, no hotkeys work, not from my app, not from my actual keyboard. The only way Ive found to fix this is to open the settings and rebind the hotkeys. When doing that, even if I just clear and set the exact same hotkey it was already set to, it works properly again, until I restart OBS...
Did I find a bug with it or is this something related to my OBS install?
Im running OBS Studio 20.0.1 (Newest version at time of posting) on Windows 10 1703 15063.608 (Newest non-insider build)
Ive verified that obs "sees" the same keys clicked both when its working properly and when its bugged using spy++ (Part of Visual Studio package) and I cant seem to find any other explanation than that OBS is having some sort of bug in the hotkey system? Seeing as how the bug is there even with my app not even running and using hotkeys straight from my actual keyboard..
edit: Forgot to add. When it is bugged it seems to detect NUMPAD 1 and 1 as the same key even tho they are reported as different keystrokes detected... A-Z hotkeys does not seem to work at all