Input overlay for OBS using RawInputBuffer with analog keyboard support

hello, this project is pretty much just something i made for myself and a few friends. im going to try to fix bugs etc as best as i can but keep in mind that im not that skilled of a dev so expect updates to roll out slowly or eventually to stop due to lack of time
you can read up more on how to create your very own HTML overlay that uses the desktop app here
features
- websocket connection with authentication with support to stream your inputs to a secondary PC (e.g. a dedicated streaming PC)
- hall effect keyboard support via Soup
- if you want to PR/request a new device please do so on Soup instead of this repo.
- mouse movement tracking via the RawInputBuffer windows api to keep track while tabbed into games
- customizable layouts and labels (labels support html
img src tags, not officially though)
- dual PC support (e.g. gaming PC to dedicated streaming PC)
single PC setup
- get the
input-overlay-ws server and follow the setup instructions from its release page
- after its set up, go into its settings
right-click the tray icon -> settings
- copy your auth token from the settings
you can change it to whatever you like in there too
- paste the auth token in the auth token field above
- configure your overlay to your liking, then once done click the
⎘ copy url button and paste the copied url as an OBS browser source
you can configure the key whitelist in the server settings to ensure you are only sending keys over your network that are configured in the overlay
nightly builds
obs plugin setup
gets the inputs and renders the overlay directly inside OBS, no browser source or separate server needed
- download the latest release of the
input-overlay-obs-plugin and follow the setup instructions from its release page
- configure your overlay to your liking, then click
⭳ export json above
- add a new
Input Overlay (GG) source in OBS
- in its properties choose the config file you just exported
- configure other settings to your preference
you can also load your overlay config from the link if its more conveniant to you
sending keys to another pc
(eg. from gaming to streaming pc)
this will not work with the obs-plugin version of the input-overlay-ws! you will have to use the standalone app version!
- open the input-overlay-ws server on your gaming pc
- right-click the tray icon -> settings -> enable the http server
- change the host of the ws server to
0.0.0.0 so it accepts connections from other pcs
you can also use the local IPv4 address of your gaming pc instead: run ipconfig in cmd and copy it (usually 192.168.0.1 or 192.168.X.X with X being 0-255)
- click the
open in browser button inside the http server settings
it opens the hosted configurator on your gaming pc’s local address, which also fills that address and the ws port into the configurator for you
- check that the address in the hosted configurator is your gaming pc’s local IPv4 address
- click the
⎘ copy url button to copy your hosted overlay url from the hosted configurator and add it as a browser source in your OBS running on the streaming pc
[!TIP]
cant connect from another pc?
Windows Firewall might block inbound connections by default. Run this in PowerShell as Administrator on your gaming pc to allow the ws server ports:
New-NetFirewallRule -DisplayName "input-overlay WS" -Direction Inbound -Protocol TCP -LocalPort 4455 -Action Allow
New-NetFirewallRule -DisplayName "input-overlay HTTP" -Direction Inbound -Protocol TCP -LocalPort 4456 -Action Allow
adjust the port numbers if you changed them from the defaults
building from source
released binaries are already built via GitHub Actions, you only need this if you want to build from source yourself
1. install prerequisites
linux additional dependencies
sudo apt install build-essential cmake libx11-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libgl-dev libudev-dev libwayland-dev libxkbcommon-dev
2. get the source
git clone --recursive https://github.com/girlglock/input-overlay.git
3. build (run from the repo root)
both standalone and plugin
cargo build --release
outputs:
target/release/input-overlay-ws (or .exe on bimbows) standalone app
target/release/input_overlay_obs_plugin.dll/.so obs plugin
standalone app only
cargo build --release --package input-overlay-standalone
output: target/release/input-overlay-ws (or with .exe on bimbows)
obs plugin only
cargo build --release --package input-overlay-obs-plugin
output: target/release/input_overlay_obs_plugin.dll/.so
place the output file in your obs-studio plugins folder: obs-studio/obs-plugins/64bit/, and copy obs-plugin/fonts/ next to it
评论