streamduck-org / streamduck-gui

GUI Client for Streamduck project
Mozilla Public License 2.0
5 stars 0 forks source link

seems obs still need to be the focused application #2

Closed allegfede closed 5 months ago

allegfede commented 1 year ago

I have to admit that i'm just experimenting with your app but seems very interesting. Have not idea if my metod to simulate teh press of more than a button at the same time is ok (ctrl+shit+F_key) so i made 3 press event and 3 release events for the 3 keys, but seems that obs still needs to be on focus to get the inputs.

Do i need the websockets or not?

Thanks for your time.

Federico

nedius commented 1 year ago

Hello Federico

I'm not a developer, but i morally supporting him, so don't know any deep knowledge, but here what i think about this:

For obs to recognize global shortcuts you need to enable them, like in this thread https://obsproject.com/forum/threads/global-hotkeys.141455/. But i think that better way would have streamduck integration to obs, like official app has (we need to wait for that to happen)

TheJebForge commented 1 year ago

So, keyboard emulation was made pretty half-arsed since the point is to have integration to the applications rather than relying on keyboard emulation to do the work. I really only included this in the project so there's at least something that can be used without use of plugins.

It's also already possible to implement OBS integration as a plugin since the plugin api is already pretty solid, it's just currently undocumented... I plan on continuing development of the software soon and after documenting plugin api, i'll be working on OBS integration myself

allegfede commented 1 year ago

Thanks for the kind reply. Already checked the "global keystroke" setting in obs and is enabled. So seems the problem is somewhere out. PS: I'm using Wayland and I know this could be a problem.

Il sab 8 ott 2022, 17:15 TheJebForge @.***> ha scritto:

So, keyboard emulation was made pretty half-arsed since the point is to have integration to the applications rather than relying on keyboard emulation to do the work. I really only included this in the project so there's at least something that can be used without use of plugins.

It's also already possible to implement OBS integration as a plugin since the plugin api is already pretty solid, it's just currently undocumented... I plan on continuing development of the software soon and after documenting plugin api, i'll be working on OBS integration myself

— Reply to this email directly, view it on GitHub https://github.com/streamduck-org/streamduck-gui/issues/2#issuecomment-1272340470, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAK4JWR4VSCGSMNMLKHUTBLWCGFZNANCNFSM6AAAAAAQ7XBWOA . You are receiving this because you authored the thread.Message ID: @.***>

TheJebForge commented 1 year ago

Wayland is probably a problem, I'm using libxdo to simulate keystrokes and as far as I know, it's for XOrg only

TheJebForge commented 5 months ago

Switched rails completely with streamduck