Input Overlay

Input Overlay v5.0.5

univrsal

Active Member
Thanks for reply! Unfortunately non of them work, I assigned keycodes 0x10, 0x11, 0x12, 0x13 in io-cct and OBS doesn't work with those codes, apparently.
Can you download the sdl2.gamepadtest.zip from here and see if the button events show up in the console?
 

adelinadragonborn

New Member
Can you download the sdl2.gamepadtest.zip from here and see if the button events show up in the console?
Tested, button events for paddles are not showing up in console.
 

FrizouWasThere

New Member
Hey there, I absolutely love this extension and I find it very useful for there to be a tool that assists the creation of layouts.
Unfortunately, I have ran into an issue that I cannot fix no matter what: I am using a canadian french keyboard both in hardware and software and for us, the # key is located where is -I believe- the ` key, on top of Tab and left to 1. While I can set up and use the layout I have created perfectly fine, the # key specifically is never recorded and will never be highlighted inside of OBS. In the web editor, it seems my input of # is recorded correctly though. If you know what I can do to fix this issue or if this might be something I'd have to report to the OBS github, let me know.
 

univrsal

Active Member
Hey there, I absolutely love this extension and I find it very useful for there to be a tool that assists the creation of layouts.
Unfortunately, I have ran into an issue that I cannot fix no matter what: I am using a canadian french keyboard both in hardware and software and for us, the # key is located where is -I believe- the ` key, on top of Tab and left to 1. While I can set up and use the layout I have created perfectly fine, the # key specifically is never recorded and will never be highlighted inside of OBS. In the web editor, it seems my input of # is recorded correctly though. If you know what I can do to fix this issue or if this might be something I'd have to report to the OBS github, let me know.
Try running demo_hook.exe and see what keycode shows up in the console when you press it. You can also download the file from github:
The builds are at the bottom, specifically the one called "windows-x86_64"
 

Attachments

  • demo_hook.zip
    23.8 KB · Views: 20

FrizouWasThere

New Member
It seems it was indeed the incorrect keycode, but replacing with the supposedly correct one (222, or 0xDE, according to the linked program) does not change anything inside of OBS. I have made sure that I saved the .json and restarted OBS on multiple occasions without any results. Checking with the web editor, the keycode was indeed changed to 0xDE so it should be the right one.
 

demk

New Member
I don't know if browsers detect the paddles, so I'm not sure if I can add support for them to the editor. You should however be able to set the keycodes manually. Just untick "record keycode" and enter the number:
View attachment 102989
Here's the list of codes:
Specifically the paddles:
SDL_CONTROLLER_BUTTON_PADDLE116
SDL_CONTROLLER_BUTTON_PADDLE217
SDL_CONTROLLER_BUTTON_PADDLE318
SDL_CONTROLLER_BUTTON_PADDLE419
Not sure which one is the correct one, so you'll have to test that.

It might just be that the anti cheat prevents the plugin from working. I don't think there's much that can be done in that case.
What is really curious is:

I was able to make toe plugin works when I open another "program" which do the same.

For example, if I download nohboard and open it, the OBS Input overlay instantly works in GTA 5, but if I close the nohboard program, the OBS Plugin stop to work.

The only think I can guess is: somehow the obs input overlay plugin need any DLL loaded or smth like that similarly to nohboard, but when another program loads that dll, the plugin start to work.

So at this moment, when I want the plugin to works properly in GTA 5 I open the nohboard, so plugin start to working and let the nohboard "opened" in bg to input overlay works.
 

Cyntalan

New Member
Got an interesting issue. Currently, I'm competing with one problem vs. another, and this one seems like the problem most likely fixable.

I have an SN30 Pro that I'm trying to get working with this plugin, but I only seem to be able to get it to be seen by the plugin if I connect to my PC via XInput mode (causing it to be seen as an XBox pad). This works perfectly fine... except that because it's an XBox pad in this mode, the bottom L and R buttons are seen by everything as analog triggers. Where I'm trying to use it, it is unable to recognize both buttons being pressed at the same time (ZUp at max and ZDown at max cancel each other out and it is seen as no input at all).

This changes if I instead connect under DInput, where the bottom L and R buttons are seen as the digital buttons they are, but the plugin does not seem to recognize this as a controller anymore. As what I'm trying to play on isn't going to be changing any time soon, I'm hoping I can instead find a means to get this plugin to see the pad while in DInput. Any ideas on what I might be missing?
 

Cyntalan

New Member
Got an interesting issue. Currently, I'm competing with one problem vs. another, and this one seems like the problem most likely fixable.

I have an SN30 Pro that I'm trying to get working with this plugin, but I only seem to be able to get it to be seen by the plugin if I connect to my PC via XInput mode (causing it to be seen as an XBox pad). This works perfectly fine... except that because it's an XBox pad in this mode, the bottom L and R buttons are seen by everything as analog triggers. Where I'm trying to use it, it is unable to recognize both buttons being pressed at the same time (ZUp at max and ZDown at max cancel each other out and it is seen as no input at all).

This changes if I instead connect under DInput, where the bottom L and R buttons are seen as the digital buttons they are, but the plugin does not seem to recognize this as a controller anymore. As what I'm trying to play on isn't going to be changing any time soon, I'm hoping I can instead find a means to get this plugin to see the pad while in DInput. Any ideas on what I might be missing?
To add, I should note that using the online tool to build an overlay only partially recognizes the pad in DInput mode - no option seems to recognize the d-pad portion.
 

kasuo

New Member
I don't really understand why my plugin doesn't work. Can someone help me?
 

Attachments

  • help.txt
    10.7 KB · Views: 19

Gemmaturtles

New Member
Gamepad not detected. Tried launching as admin, unplugging/plugging back in, etc. SDL2 detects inputs.

1716993272597.png
 

milkclouds

New Member
Hi there, I'm a developer and I want to use OBS's recording feature, obs-websocket, and input-overlay simultaneously to record screen and keyboard/mouse input.
This works for screen and keyboard/mouse recording, but I don't know if I can "replay" the recorded keyboard/mouse actions. Is there a good way to do this?
 

univrsal

Active Member
Hi there, I'm a developer and I want to use OBS's recording feature, obs-websocket, and input-overlay simultaneously to record screen and keyboard/mouse input.
This works for screen and keyboard/mouse recording, but I don't know if I can "replay" the recorded keyboard/mouse actions. Is there a good way to do this?
You mean replay inputs as in make them show up in the overlay source?
You can send input data to input overlay via a websocket connection in the same way the client software does. The data has to be sent as binary.
Each packet has the following layout
64 bytesdevice name that the event is coming from
1 byte0 for keyboard/mouse events, 1 for gamepad events
idk how many bytes, lolentire uiohook_event struct
 

kofsimo

New Member
For Fightings Games
Here is my 2 overlay for the neogeo controller and Qanba Q7 Obsidian 2 for PC controller
1718576626559.png
1718576743459.png
 

Attachments

  • Neo Geo Arcade Stick Pro.rar
    733.9 KB · Views: 62
  • Qanba Q7 Obsidian 2.rar
    615.9 KB · Views: 39

Cyntalan

New Member
Sliding a bit aside with this. I've switched over to Linux and I'm trying to actually create a new layout using the github.io tool, only that it does not seem to sense my controller whatsoever. I know when I load the plugin into OBS, it can see the pad just fine (though I have no layout to work with), but when I go to build gamepad buttons, it can't record the keycode. Not really sure what to do about that. Is there something I need to do in order for it to recognize my pad?
 
Top