0xE04B | "ArrowLeft" |
---|
Hi, Love the plugin been getting some great use out of it animating a Nintendo DS! Really nice!
I've just come across an issue however. So I am using some Lioranboard integration in order to let Twitch Chat play Pokemon Platinum on the DS.
I've got all the other buttons animated with the plugin no problem. Except for the arrow keys when I use the codes for them they don't add the to the input history. for Arrow Left I'm using this
0xE04B "ArrowLeft"
from the mozilla site https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/code/code_values <- Super useful btw
Now when I press the arrow key on my keyboard that works just fine. However I need it to work when a macro from lioranboard fires the up, down, left or right arrow key. For some reason these don't seem to share the same code value. Any insight on the matter?
For now I'll change the keybindings as a work around
If anyone wants to checkout the previously mentioned DS integration it is on the channel twitch.tv/PPOmon
Kind Regards,
TombPlays
Additionally the Numpad arrows and normal arrows are mixed up if I recall correctly.I don't know where people keep getting that key code link from but it's not what input overlay uses. Input overlay uses keycodes from here https://github.com/kwhat/libuiohook/blob/1.2/include/uiohook.h#L137
The tool for creating overlays was rewritten using html5 and javascript, which hopefully is the last big change for version five. While the plugin itself is still not finished, the tool is, so you can try it out and create overlays here. There's a short introduction video and I'll try to make some more specific ones later.
The new version will use json instead of ini files.How are you supposed to download an .ini from the config creation tool? The .json doesn't seem to work
Additional mouse buttons can not be accessed as they rely on the device driver. You will have to bind them to existing keyboard keys for them to be picked up by input overlay, but the mouse overlay can currently only visualize the standard mouse buttons, so this won't really help anyways.How do I change the side mouse buttons to other buttons as I have a mouse with 12 keys that are customizable and id rather not mess with my mouse.
This is a pre release for version 5.0.0 containing the following changes:
- Remote connections (e.g. send inputs from gaming pc to streaming pc)
- New overlay config format (Goodbye ugly and incomprehensible ini files)
- Config creation tool (short intro video here)
- New gamepad system (Supports both XInput and DirectInput)
- Host input events on a local WebSocket Server so they...
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Page Title</title>
</head>
<body>
<span id="dot"></span>
</body>
<style>
#dot {
height: 60px;
width: 60px;
background-color: rgba(255, 0, 0, 0.5);
border-radius: 50%;
position: absolute;
left: 0px;
top: 0px;
}
body {
margin: 0;
}
</style>
<script>
var dot = document.getElementById('dot');
function on_data(e) {
let json = JSON.parse(e.data);
let t = json.event_type;
if (t === 'mouse_moved') {
// I needed a little offset to center the circle
dot.style.left = (json.x - 30) + "px";
dot.style.top = (json.y - 50) + "px";
}
}
function start_websocket() {
var ws = new WebSocket("ws://localhost:16899/");
ws.onmessage = on_data; ws.onmessage = on_data;
ws.onerror = (e) => console.log("WebSocket error: " + e);
ws.onclose = () => {
// connection closed, discard old websocket and create a new one in 2s
ws = null;
setTimeout(startWebsocket, 2000);
};
}
start_websocket();
</script>
</html>
Please read the big bold text at the top of the release page on githubI can't seem to install the new version correctly. The settings for it shows up under tools,
View attachment 71347
but input overlay doesn't show up when I try adding a source.
View attachment 71348
I've reinstalled OBS, I've installed and reinstalled multiple times using the installer, I've manually copied and pasted the plugin to the root folder, I've started OBS as administrator, I have the Visual C++ 2019 Redistributables installed, I've restarted OBS, I've restarted my computer. The previous version worked as I had it installed previously. My OBS is up-to-date, I've followed the wiki and the installation guide, I've tried everything I can do. I don't usually use OBS but I want to record some footage and I need to use the custom texture I made using the cct for it. It could be something obvious but I'm honestly at a loss, I can't seem to find any fix for it. Hope someone can help me get this sorted.
I have windows 10 64bit.
Please read the big bold text at the top of the release page on github
You don't, there are some presets that I remade but that's about itSince the update converted the files to json. How do i convert these premade inis to work?