Input Overlay

Input Overlay v5.0.4

univrsal

Member
Hello, very pleased to read that the the exe can send without an obs running on server!
I was gonna try using it but third times in a row, the plugin on the streamer pc side had consistent crashes.

this crash occurred after i set it up with preset configurations, then go to menu item (in obs)"tools\input-overlay configuration\remote connection" and enable "remote connection" , when i hit "reload" to detect any running "senders. the reload button hangs in "pressed down"" mode and
https://obsproject.com/logs/7LbwI8ihM5X7kKIk
and another by the same steps.

may be a firewall problem.? windows default firewall usage, same freeze and crash...

Before testing any further i need clarify these:
1:this command will be run on the gaming pc: that will send the inputs to another computer. no obs needed.
"C:\Users\username\Desktop\client.x64.exe 192.168.1.44 raven 1608 --gamepad=1".
the ip that comes after .exe should belong to the receiving pc (streaming pc) and the name should any name of the gaming pc for identification.
currently if i do this i get "netlib_tcp_open failed: Couldn't connect to remote host" (maybe because streamer pc crashes on network "reload" at the moment.
You need to restart obs first after enabling the remote connection. I guess clicking refresh before that causes a crash. Don't expect too much though, the remote connection is a bit unreliable right now
 

I3ordo

Member
You need to restart obs first after enabling the remote connection. I guess clicking refresh before that causes a crash. Don't expect too much though, the remote connection is a bit unreliable right now
yes that was definitely the case, if hit refresh without restarting OBS, the plugins or obs can not request a connection from the firewall, a restart is a must , a warning pop up can be implemented if possible

once i ran the client.exe , i can get some inputs finally but it is acting weird i agree.

the inputs received have analog sticks off center, and not consistent. it s like it show whatever it gets at that time in a 100 to 900ms refresh fashion.

i get two messages from client
error: Couldn't read bindings from './bindings.json'
and other warning is:
hook_run [661]: hInst was not set by DllMain().

other than that, i get also
info: Hook thread started
[ uiohook::dispatch_proc:065]: uiohook started

ps: unfortunately, i am using ds4windows in xinput mode , now i will begin testing with unemulated genuine xbox gamepad first.


Update:
I plugged a proper xbox controller to gaming pc, restart the client.exe, reconfigured the source to receive from the proper controller. My impression, the updates are not accurate, and there are some problems after 20 or more actions, for example the d-pad right is still on hold mode, if i hold LS up, both sticks go up and LT seems still pressed down.

update 2:
I gave up on remote sending for the time being as it is nowhere near comparable to the usb (local) implementation consistency wise.

question : I have loaded the newest preset and the overlay files that are compatible with this plugin.(on the github) , i am having strange alpha problems. any ideas ?
1641929500054.png
 
Last edited:

bettaTM

New Member
Not sure if this thread is still active, but I have been looking for a preset with only arrow keys for a few hours now, and can't find one anywhere. I tried making my own using the ones from the "qwerty-arrows" preset, but it went over my head and I couldn't get it to work. I would appreciate any help! Thanks in advance!
 

univrsal

Member
yes that was definitely the case, if hit refresh without restarting OBS, the plugins or obs can not request a connection from the firewall, a restart is a must , a warning pop up can be implemented if possible

once i ran the client.exe , i can get some inputs finally but it is acting weird i agree.

the inputs received have analog sticks off center, and not consistent. it s like it show whatever it gets at that time in a 100 to 900ms refresh fashion.

i get two messages from client
error: Couldn't read bindings from './bindings.json'
and other warning is:
hook_run [661]: hInst was not set by DllMain().

other than that, i get also
info: Hook thread started
[ uiohook::dispatch_proc:065]: uiohook started

ps: unfortunately, i am using ds4windows in xinput mode , now i will begin testing with unemulated genuine xbox gamepad first.


Update:
I plugged a proper xbox controller to gaming pc, restart the client.exe, reconfigured the source to receive from the proper controller. My impression, the updates are not accurate, and there are some problems after 20 or more actions, for example the d-pad right is still on hold mode, if i hold LS up, both sticks go up and LT seems still pressed down.

update 2:
I gave up on remote sending for the time being as it is nowhere near comparable to the usb (local) implementation consistency wise.

question : I have loaded the newest preset and the overlay files that are compatible with this plugin.(on the github) , i am having strange alpha problems. any ideas ?View attachment 78970
Do you have a filter on the input overlay source? Or is the source inside a group or something that has a filter?
Not sure if this thread is still active, but I have been looking for a preset with only arrow keys for a few hours now, and can't find one anywhere. I tried making my own using the ones from the "qwerty-arrows" preset, but it went over my head and I couldn't get it to work. I would appreciate any help! Thanks in advance!
Did you watch the tutorial for the config tool?
 

xuan

New Member
Can anyone adjust the qwerty layout for qwertz?

Thanks in advance.
 

Attachments

  • qwerty.rar
    351.2 KB · Views: 55

ShannonLittel

New Member
yes that was definitely the case, if hit refresh without restarting OBS, the plugins or obs can not request a connection from the firewall, a restart is a must , a warning pop up can be implemented if possible

once i ran the client.exe , i can get some inputs finally but it is acting weird i agree.

the inputs received have analog sticks off center, and not consistent. it s like it show whatever it gets at that time in a 100 to 900ms refresh fashion.

i get two messages from client
error: Couldn't read bindings from './bindings.json'
and other warning is:
hook_run [661]: hInst was not set by DllMain().

other than that, i get also
info: Hook thread started
[ uiohook::dispatch_proc:065]: uiohook started

ps: unfortunately, i am using ds4windows in xinput mode , now i will begin testing with unemulated genuine xbox gamepad first.


Update:
I plugged a proper xbox controller to gaming pc, restart the client.exe, reconfigured the source to receive from the proper controller. My impression, the updates are not accurate, and there are some problems after 20 or more actions, for example the d-pad right is still on hold mode, if i hold LS up, both sticks go up and LT seems still pressed down.

update 2:
I gave up on remote sending for the time being as it is nowhere near comparable to the usb (local) implementation consistency wise.

question : I have loaded the newest preset and the overlay files that are compatible with this plugin.(on the github) , i am having strange alpha problems. any ideas ?View attachment 78970
What I think is every d-environment deals with inputs differently and maps it with its own unique mapping method, I have tried several gamepad mapping tool online like https://gamepadtest.com they all map controller input differently, one thing that is common is that if your key is triggering a function they will map it in their respective UI. controller mapping is very tricky and it is always upto you how you utilize it.
 

Omnipoint

New Member
Would it be theoretically possible to do something similar to this with a midi controller? For example I have a Novation Launch Control XL, or APC40 MKII
novation_launchcontrol-xl.jpg
akai-apc40_mkii.png


if anyone sees this and decides to work on it please let's start a conversation so I can learn how it might work!
 

univrsal

Member
Would it be theoretically possible to do something similar to this with a midi controller? For example I have a Novation Launch Control XL, or APC40 MKII
View attachment 79576View attachment 79577

if anyone sees this and decides to work on it please let's start a conversation so I can learn how it might work!
@cpyarger works on obs-midi, might want to talk to him. I might be able to add a procedure to the global procedure handler which other plugins can use to submit input events, but I'm not gonna touch midi input as that is outside of the scope of this plugin.
 

f2bacon

New Member
stopped working for me recently. i went to reconfigure and now it asks for a json instead of an ini file
 

univrsal

Member
stopped working for me recently. i went to reconfigure and now it asks for a json instead of an ini file
The new version uses json presets. You can download the presets on the release page where you downloaded the plugin. The old stable version that uses ini files is also still available.
 

fatihG_

New Member
Hi, I recently switched back to 4.8 simply because I cant get 5.0 to work with any of my controllers properly.

But thats beside the point. I was wondering if it is possible at all to change the Z order of the elements in the .ini files.
For example I made a mouse preset, which just consists of the buttons. I have not made a 'body' graphic for it.
The 'body' graphic that I have is just a black gradient, to separate the buttons from the background in OBS.

Right now to get the effect I want I have to remove parts of the 'body' in order not to occlude the buttons.
The set up that you have right now works fine for transparent designs or for simple outlines. But anything thats more realistic/solid is a lot more difficult to design around. Possible, but not without ugly work arounds. (you get halo's around the edges between the elements for example. Because you have 2 semi transparent edges right on top of each other it will never add up perfectly.)

I included an image of my current set up in order to get around the issue I am facing, to illustrate my point.

Mouse.png
 

univrsal

Member
Hi, I recently switched back to 4.8 simply because I cant get 5.0 to work with any of my controllers properly.

But thats beside the point. I was wondering if it is possible at all to change the Z order of the elements in the .ini files.
For example I made a mouse preset, which just consists of the buttons. I have not made a 'body' graphic for it.
The 'body' graphic that I have is just a black gradient, to separate the buttons from the background in OBS.

Right now to get the effect I want I have to remove parts of the 'body' in order not to occlude the buttons.
The set up that you have right now works fine for transparent designs or for simple outlines. But anything thats more realistic/solid is a lot more difficult to design around. Possible, but not without ugly work arounds. (you get halo's around the edges between the elements for example. Because you have 2 semi transparent edges right on top of each other it will never add up perfectly.)

I included an image of my current set up in order to get around the issue I am facing, to illustrate my point.

View attachment 79672
Unfortunately no, the old system doesn't have any layers it's all hardcoded.
 

SimetAtip

New Member
Hey, thanks for your plugin, its amazing, but i edited the layout with the program that you give us in github but it doesn't works with arrows keys, its a bug or i'm doing something wrong? (Sorry for my english)
 

Attachments

  • wasd.7z
    164.3 KB · Views: 48

craznn

New Member
I wasn't able to find a thread search function to look this up, so sorry if I am asking a duplicate question.

The joysticks for a gamepad are mapped to different axes for vertical and horizontal actuation, and i was wondering if the plugin has anyway to separately map them to different overlay textures?

Right now it takes the analog output of the joystick and maps the position of the joystick texture, but I was thinking of taking the output of the joystick and either mapping it to two separate analog sliders, or maybe just have an overlay button that is 'pressed' whenever an axis is past a certain threshold
 

craznn

New Member
I wasn't able to find a thread search function to look this up, so sorry if I am asking a duplicate question.

The joysticks for a gamepad are mapped to different axes for vertical and horizontal actuation, and i was wondering if the plugin has anyway to separately map them to different overlay textures?

Right now it takes the analog output of the joystick and maps the position of the joystick texture, but I was thinking of taking the output of the joystick and either mapping it to two separate analog sliders, or maybe just have an overlay button that is 'pressed' whenever an axis is past a certain threshold
Nevermind! I found the search function. Looks like it's not possible from a quick skim of the search results
 

OhLindor

New Member
Hello! I have some issues trying to get the gamepad display to work while in-game. The display is showing my joystick and buttons pressed when not in a game, but as soon as I click in to say, Rocket League, the input freezes and does not detect any of my button presses or joystick movement.

Here is one of my OBS logs: https://obsproject.com/logs/agOK1Fp6vO7V81CI
 

OhLindor

New Member
Hello! I have some issues trying to get the gamepad display to work while in-game. The display is showing my joystick and buttons pressed when not in a game, but as soon as I click in to say, Rocket League, the input freezes and does not detect any of my button presses or joystick movement.

Here is one of my OBS logs: https://obsproject.com/logs/agOK1Fp6vO7V81CI
I did run as administrator btw. ^^^ I have it set to open OBS as admin by default when opening. I should note that I am using a Wireless Nintendo Switch controller, that shows as LIC pro on windows. Tried using DInput, but the triggers do not work. Was able to map every other button besides the triggers. By default, the triggers (6 and 7) were mapped to the start and select buttons (8 and 9), and did trigger those buttons.

The triggers are analog (either full, or none), but keep showing (+6 and +7) on LT and RT. The triggers are not being detected on the setup, so I tweaked the config file so the triggers are basically just copied from select and start. See screenshot


Screenshot_1.png


The triggers now work, but are of course also always triggering the select and start buttons, and doesn't detect those ones now. I don't know the value codes, but is there another value we can use for either the triggers or start/select since they are both using the same codes in my screenshot?

I have also figured out that it crashes on all of my Steam games, but not Epic Games games.
 
Top