derkyjadex / M8WebDisplay

Display for headless M8 tracker
https://derkyjadex.github.io/M8WebDisplay/
MIT License
196 stars 39 forks source link

Lag when changing control mapping #12

Open Labmannn opened 2 years ago

Labmannn commented 2 years ago

When changing the default inputs I get a lot of lag, which gets longer over time up to minutes. Only inputs are affected. Audio and video continue as normal. When switching to touchdesigner everything is normal. When resetting input to default and restarting the browser the lag is gone.

Using Edge 97.0.1072.55 and Vivaldi 5.0.2497.24, headless M8

derkyjadex commented 2 years ago

This is a bit of an odd one. I can't immediately think of why this would be happening. To help narrow it down, are you using regular keyboard input or a gamepad? Is there anything unusual about your setup, like some kind of input remapping software? How long does it take for the lag to start to become noticeable? Or is there immediately an obvious delay as soon as you update the mapping?

Labmannn commented 2 years ago

I'm using a wireless numpad, i'm using 8/4/5/6 for arrows, 2/3 for shift/play and 9/+ for option/edit. No remapping software or gamepad used.

When using Edge I can sometimes use it until i restart the browser, sometimes its after a couple of minutes, sometimes immediate. After restarting Edge with remapped keys it is always unusable. In Vivaldi it is always immediate.

When it happens I also can't remap the keys anymore, when i click the on screen buttons nothing happens.

I'm not completely sure but it feels like a input gets stuck - when I press down, the cursor will move down (after a delay) but move up again without my input.