univrsal / input-overlay Goto Github PK
View Code? Open in Web Editor NEWShow keyboard, gamepad and mouse input on stream
License: GNU General Public License v2.0
Show keyboard, gamepad and mouse input on stream
License: GNU General Public License v2.0
Similar to the problem below, OBS Studio won't load the plugin and seems to produce the same error (with slightly different formatting). I have tried installing the suggested VC++ runtimes (which apparently fixed it for the previous issue) but it did not work for me. Please see below the log file generated after installing the VC++ runtimes, which looks the same as it did before.
Also, please feel free to giggle at the age of my system. Still going strong 10+ years later.
01:44:05.082: CPU Name: Intel(R) Core(TM)2 Quad CPU Q9450 @ 2.66GHz
01:44:05.082: CPU Speed: 3600MHz
01:44:05.082: Physical Cores: 4, Logical Cores: 4
01:44:05.082: Physical Memory: 8190MB Total, 5554MB Free
01:44:05.082: Windows Version: 6.1 Build 7601 (revision: 24024; 64-bit)
01:44:05.082: Running as administrator: false
01:44:05.082: Aero is Disabled
01:44:05.083: Portable mode: false
01:44:05.101: OBS 21.0.1 (64bit, windows)
01:44:05.101: ---------------------------------
01:44:05.102: ---------------------------------
01:44:05.102: audio settings reset:
01:44:05.102: samples per sec: 44100
01:44:05.102: speakers: 2
01:44:05.104: ---------------------------------
01:44:05.104: Initializing D3D11...
01:44:05.104: Available Video Adapters:
01:44:05.106: Adapter 1: NVIDIA GeForce GTX 1050 Ti
01:44:05.106: Dedicated VRAM: 4192665600
01:44:05.106: Shared VRAM: 4025626624
01:44:05.106: output 1: pos={0, 0}, size={1920, 1080}, attached=true
01:44:05.110: Loading up D3D11 on adapter NVIDIA GeForce GTX 1050 Ti (0)
01:44:05.142: D3D11 loaded successfully, feature level used: 45056
01:44:05.936: ---------------------------------
01:44:05.936: video settings reset:
01:44:05.936: base resolution: 1920x1080
01:44:05.936: output resolution: 1280x720
01:44:05.936: downscale filter: Bicubic
01:44:05.936: fps: 30/1
01:44:05.936: format: NV12
01:44:05.939: Audio monitoring device:
01:44:05.939: name: Default
01:44:05.939: id: default
01:44:05.939: ---------------------------------
01:44:05.941: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/chrome_elf.dll' not found, loading of module failed
01:44:05.942: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
01:44:05.965: [AMF] <obs_module_load> AMF not supported (no AMD graphics)
01:44:05.965: Failed to initialize module 'enc-amf.dll'
01:44:05.972: LoadLibrary failed for '../../obs-plugins/64bit/input-overlay.dll': The specified module could not be found.
01:44:05.972: (126)
01:44:05.972: Module '../../obs-plugins/64bit/input-overlay.dll' not loaded
01:44:05.986: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
01:44:05.987: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libEGL.dll' not found, loading of module failed
01:44:05.987: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
01:44:05.988: Failed to load 'en-US' text for module: 'obs-browser.dll'
01:44:05.988: [browser_source: 'Version: 1.29.0']
01:44:05.990: NVENC supported
01:44:06.070: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/uiohook.dll' not found, loading of module failed
01:44:06.070: Couldn't find VLC installation, VLC video source disabled
01:44:06.077: No blackmagic support
01:44:06.082: [Media Foundation encoder]: plugin is disabled for performance reasons on Windows versions prior to 8
01:44:06.084: ---------------------------------
01:44:06.084: Loaded Modules:
01:44:06.084: win-wasapi.dll
01:44:06.084: win-mf.dll
01:44:06.084: win-dshow.dll
01:44:06.084: win-decklink.dll
01:44:06.084: win-capture.dll
01:44:06.084: vlc-video.dll
01:44:06.084: text-freetype2.dll
01:44:06.084: rtmp-services.dll
01:44:06.084: obs-x264.dll
01:44:06.084: obs-vst.dll
01:44:06.084: obs-transitions.dll
01:44:06.084: obs-text.dll
01:44:06.084: obs-qsv11.dll
01:44:06.084: obs-outputs.dll
01:44:06.084: obs-filters.dll
01:44:06.084: obs-ffmpeg.dll
01:44:06.084: obs-browser.dll
01:44:06.084: image-source.dll
01:44:06.084: frontend-tools.dll
01:44:06.084: enc-amf.dll
01:44:06.084: coreaudio-encoder.dll
01:44:06.084: ---------------------------------
01:44:06.084: ==== Startup complete ===============================================
01:44:06.087: All scene data cleared
01:44:06.088: ------------------------------------------------
01:44:06.126: WASAPI: Device 'Speakers (Realtek High Definition Audio)' initialized
01:44:06.159: adding 23 milliseconds of audio buffering, total audio buffering is now 23 milliseconds
01:44:06.512: Switched to scene 'Scene'
01:44:06.512: [game-capture: 'Game Capture'] attempting to hook fullscreen process: explorer.exe
01:44:06.512: [game-capture: 'Game Capture'] cannot capture explorer.exe due to being blacklisted
01:44:06.513: ------------------------------------------------
01:44:06.513: Loaded scenes:
01:44:06.513: - scene 'Scene':
01:44:06.513: - source: 'Game Capture' (game_capture)
01:44:06.513: ------------------------------------------------
What happened: When pressing spacebar, the "spacebar" icon doesn't change colour
What was supposed to happend: When pressing spacebar, the spacebar icon should change colour
Log file: I don't know where to find this
So, the mouse overlay was disappearing when I added the ini. I looked at it and changed "1_layout_type=0" to "1_layout_type=1" and that fixed it. However, the side buttons were reversed, so I swapped them and that fixed that. However mouse wheel up and down weren't working, and I wasn't able to get that to work.
Hi, Im trying to set up multiple key with the keyboard overlay. In your .ini file, there's a line named key_order = . I try a lot of combination like 0x0036 && 0x0002, etc... Nothing working.
What happened:
when i put in the wasd-full.ini with the wasd.png it doesnt display the tab,r or f key correctly
What was supposed to happend:
http://www.hnng.moe/f/YH0
Log file:
Hey!
I'm trying to set up an overlay where I have only 3 buttons, left arrow, right arrow and the Numpad up arrow that I use for jumping.
However I do not know what to write in order to have the Numpad up arrow to register. In the list of buttons this is what is says: 0xEE00 | VC_KP_8.
But even if I write it like that, or if I replace "VC_KP_8" with its code, it doesn't work. Could you please help me how I have to enter it into the ini file?
Thank you!
I play steam games using my Switch pro controller, and It works great. I have gotten my pro controller to work with your plugin, but the buttons are in the x-box controller layout. Is there any way that you could release a preset that would light up the correct buttons when pressed? I have tried for hours but yet I am unable to get anything close to what I am looking for. I can get the button labels in the right spot, but then when I press x, y will light up and vice versa. If not, maybe you could give me an explanation on how to make my own? Maybe I'm missing something simple. If not, thanks anyway!
What happened: (v4.2 because 4.4 won't install) Mouse direction flickers all over the place in-game (Quakeworld) even during smooth single directional moevement. Works properly out of game. Sensitivity doesnt fix the issue. It is like the movement indicator is trying to 'recenter' after every tic. "Use Monitor center" option freezes the mouse input.
What was supposed to happend:
Log file:
I used the 0x0029 from:
#define VC_BACKQUOTE 0x0029
but when I press backquote/circumflex (the key to the right of the 1) nothing happens.
The instructions in the README file are ineffective in installing the plugin. I tried those steps and others numerous times in multiple different ways, and none of them worked. Many of us would like a clarification on how to install the plugin on linux, please.
This plugin is phenomenal for tutorials, but in applications where you're using a command line - in my case, Rhino 3d where you type the name of a command rather than a shortcut key - it's not useful.
I'm wondering if an option to determine what keys/clicks determine when you go to a new line. For instance, any time Ctrl, Space, Enter, or Right Click is pressed it starts a new line.
Describe the bug
I do not find the obs folder I did the processes I read in the folder sheet the obs folder is not there I checked in the x86 programs and programs folder
To Reproduce
Steps to reproduce the behavior: folder obs
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional information:
Additional context
Add any other context about the problem here.
Downloaded the plugin and copied files to designated folders, OBS didn't load it.
Log file says:
LoadLibrary failed for '../../obs-plugins/64bit/input-overlay.dll': (null) (126)
Module '../../obs-plugins/64bit/input-overlay.dll' not loaded
32bit version behaves the same.
Please advise, and thank you for your time.
i'm download input-overlay-master.zip
but when i open zip file > input-overlay-master folder> preset,data,ccl,.h,.c,.md,.hpp,.cpp
i dont know what it mean
your old install guild not have ( preset,data,ccl,.h,.c,.md,.hpp,.cpp )
i really like your input-overlay plugin ^^ but i cant use T^T
Thank for help
It would be nice (though potentially out of scope) to have a list of inputs that automatically scrolls and fades out after a certain number of seconds following the keystroke. For example, I press A, then S. It shows A, then pushes up the A, then shows the S, then the A fades out, then the S.
This would be the ideal situation for doing tutorials without wasting screen space on showing the entire keyboard (and also preventing people from missing quick keystrokes). Of course, I could probably use one of the many applications that already do this, but it would be perfect if it was directly integrated into my recording software so I can set it and forget it as well as not having it block my view.
I made an overlay with works perfectly well but the moment i give focus to the Tekken 7 window, the overlay doesn't detect key presses anymore, until give focus to another window
Here's the config file if needed. I don't use the mouse overlay, gamepad overlay nor key history.
What happened:
I am currently trying to add the DELETE
key to my overlay. According to https://github.com/univrsal/input-overlay/blob/master/libuiohook/include/uiohook.h#L236 it should be 0x0E53
. When I use that in my .ini
, the key is not registered in the input overlay. i even tried using a 1x1 overlay with it being the only key.
What was supposed to happend:
When I hit DELETE
, input overlay should detect it and light the DELETE
key in my overlay.
Log file:
Might be that I’m just missing something here, of course. I’m pretty new to this tool and the whole input hooking thing in general :)
I think you should indicate somewhere in your ini file how to set arrow keys (Windows) on the overlay when modifying "2_key_order".
Left arrow: 2424832
Right Arrow: 2555904
Up Arrow: 2490368
Down Arrow: 2621440
Currently, the only arrows listed in the List you provided in the ini file are for the numpad.
EDIT: Nevermind, this highlights the key when ANY key is pressed. How would I set arrow keys to work with this overlay?
Please show the full keyboard, would be great for tutorials
What was supposed to happen:
... you shall know it.
Log file:
2018-02-21 19-23-08.txt
BTw... i would prefer a QWERTZ-Layout.... don't do american QWERTY only ;)
OBS Studio Version: 20.1.3 After replacing the file, start OBS did not find in the add "Input Overlay"
Hi, the side buttons on my mouse are reversed. I saw that in a previous version this was supposed to be fixed. Maybe it fixed it for some mice and broke it for others? Can this be reconfigured easily?
I'm using input-overlay v4.5, OBS 21.1.2, and have a Razer DeathAdder Chroma.
What happened: Input Overlay failed to load, log file mentions "Required module function 'obs_module_load' in module '../../obs-plugins/64bit/uiohook.dll' not found, loading of module failed".
What was supposed to happen: Input Overlay loads
Log file: https://pastebin.com/r2tU62s0
What happened: I am using StreamLabs OBS (the new app made by them) I don't see a plugin folder in that directory
What was supposed to happen:
Describe the bug
When using a key with no natural up/down state (eg. scroll) the overlay does not display/update as expected.
To Reproduce
No input:
Constant Input:
Expected behavior
Mouse overlay shows scroll inputs visibly
Additional information:
Cannot see mousewheel up or down on mouse. Uncommenting MWU and MWD on preset ini just messes up the alignment.
Hi~
Would you mind provide the .psd file of the layout? Or what is the font of the "asdf"?
Thanks a lot!
Hello,
I found the bug to be happening while I'm using it on Fedora 28. What ends up happening is that the readme describing to move the files to /.config/obs-studio/plugins/ but:
error: os_dlopen(/usr//lib64/obs-plugins/input-overlay.so->/usr//lib64/obs-plugins/input-overlay.so): libuiohook.so.0: cannot open shared object file: No such file or directory
If you can get back to this thread or release an update (or even give some advice of how to stumble through the code to change it myself) it would be very much appreciated. Thank you.
Hey man, i've been using your plugin to make myself a basic street fighter overlay, but there's stuff that i'd like to do regarding the history that i can't at the moment.
The problem is that the history shows which keys are used when in street fighter (and various games), each specific command has a name and that name is used by the community (e.g. a Light-Punch on my keyboard is Q, however it's name should be LP, and on an american keyboard it should be A). So i'd like to be able to attribute images to keys, or at the very least custom names, so that the history matches the input overlay
Being able to only allow specific keys to show up in the history would also be pretty neat, because if i stream with the history i can't afford to type any password even though i only have the history on for 6 specific keys. Would also be neat to be able to show the history fully horizontally, in order to show combos properly
Also, the names of arrow keys is messed up (it shows their value instead), i don't know why
I downloaded the Source Code because the actual input overlay download isn't there. I only see Source Code as a zip file and a tar... . Anyways I see the source code, but there's no plugin in it, so I cant use it;.
Hello.
Today I've been trying to build your plugin in VS2017.
After couple hours of struggling I found probably your thread https://obsproject.com/forum/threads/solved-issues-with-plugin-loading.79508/
So it should be linked with XInput9_1_0 rather that XInput. Please fix this for the future developers. This issue is hard to diagnose, but solution is very simple.
Describe the bug
Minimal History will not display anything
To Reproduce
Install Input Overlay (4.7.2) normally and add an Input Overlay to OBS (Minimal Input History)
Expected behavior
It should work correctly and display keys when pressed
Additional information:
Additional context
This seems to be the only overlay that isn't working, everything else works :L
Is it possible to make xinput gamepad buttons to work?
Describe the bug
Gamepad overlay display is doubled/overlapping
To Reproduce
Steps to reproduce the behavior:
Install input-overlay, add it to scene, use default preset
Expected behavior
Gamepad shown as included game-pad-preview.png
Additional information:
When uiohook.dll is loaded into OBS and altdrag is running on the system
when using the alt key and dragging to move windows on the system, alt-drag does not detect that the mouse key has been let go. Instead the user must click to let go of the window
application should not conflict, this can be tested by;
letting go of MB1, the window should stop moving with the cursor
Can I somehow make Input overlay work without OBS?
Not on stream, but in Nvidia ShadowPlay.
What happened:
Nachdem ich die Qwerty-Config geladen habe:
Crash 2018-02-22 16-31-06.txt
What was supposed to happend:
Es sollte ein klassischer Input-History eingebunden werden
Log file:
2018-02-22 11-25-04.txt
I'm trying to make a layout with single keys:
F1 F2 F3 F4 F5
^ 1 2 3 4 5
Q W E R
A S D F V
SHIFT SPACE
with every key being 1x1 except shift 2x1 and space 3x1.
However with my current setup shift doesn't appear at all the rest works as it should.
My graphic files contains 3 (or 6) rows of keys with 10 keys per row the first 2 (or 4) rows contain the single keys the 3rd (or 5th and 6th) contain the shift and space key.
Ini @ Pastebin
Graphic file and result @ imgur
Any idea what I did wrong?
After following the installation video, I reloaded OBS but still can't see the new entry in the sources menu.
Is there anything I could provide for debugging?
EDIT:
Only the 64bit version doesn't show the new menu entry. The 32bit one works!
So I'm using the WASD preset and import them exactly like in the vimeo tutorial video, but the TAB, R and F keys don't show (they are invisible).
It appears that the 2nd row of keys in the preset texture isn't being shown (it does show if I import the texture without the .ini ofc). I think this is the case ever since I realized that all the keys that DO show are in the 1st row of keys, and the ones not showing in the 2nd row.
What happened: Sorry, but I'm fairly new to OBS and I can't seem to install this plugin correctly. I'm running the 32 bit on Windows 10. I've tried following the instructions, but can't get it to show up in OBS. Your help would be appreciated!
not work on OBS-Studio-20.1.3-Small Chinese-Simpl Language. Windows 7 64 bit.
this is a great tool,but i've noticed that when i'm playing this MMORPG Guild Wars 2,the key strokes won't register. when I test it on OBS screen , it works just fine. but when i got back to the game(GW2 in this case), key strokes just won't be registered anymore. and what is even more strange is that when im in GW2, the alphabets won't register,but the tab, caps locks ,shift,ctrl ,enter ,space and back space will be correctly registered.
do you know what is the problem?
ps: some other games works just fine on my pc witcher 3 etc.
Hi
What happened: I try to use key icons instead plain text, using the samples arrow-key-icon, when i load .ini file, my OBS just crash, i will try to understand how .ini file works to apply to another layout that i made.
Theres someting wrong with this samples files, because i really cant use.
This is I have into .ini file:
.# Input Overlay config v.4
.# The amount of key icons in the texture
.1_icon_count=4
.# Dimensions of the keys
.1_icon_w=128
.1_icon_h=128
.# The order of the icon order using their key codes
.# Get them here (Search for "VC_" and then the key name):
.# https://github.com/univrsal/input-overlay/blob/master/libuiohook/include/uiohook.h#L137
.#2_icon_order=0xEE4D,0xEE50,0xEE4B,0xEE48
.2_icon_order=0xE048,0xE050,0xE04B,0xE04D"
In the 2 last lines, i change some keys from the github, bus still getting error, ignore the first dot.
And i attached a .png file and my log file.
log.txt
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.