- changed status to open
Alt-tab mouse glitch
Initial conditions: Mouse control is DISABLED in options. Operating with a joystick. There is an in-game mouse cursor rendered on screen, but the mouse does not affect flight control.
The bug: Whenever you alt-tab out of XWVM and back in, it toggles the state of mouse control back and forth from "Disabled" to "X-Wing Style".
While mouse control is enabled, the in-game mouse cursor has disappeared. When it's accepting mouse movement as flight control, it's possible to turn at hyperspace speed. So fast the stars blur. The joystick still works, but turns the craft at normal speed.
You can keep repeating the bug by alt-tabbing. The bug affects both windowed and fullscreen mode.
Comments (5)
-
-
The "hyperspace turning" mouse related part of this issue has been fixed as part for the fix for issue
#58. -
- changed status to resolved
Fixed: Issue
#67: alt-tab mouse glitch→ <<cset 8a8e2f226d63>>
-
- changed title to Alt-tab mouse glitch
Altered title, since the mouse speed problem is dealt with in another issue.
-
Solved by creating a hidden ALT-TAB mapping that does nothing. This should "hide" the single TAB mapping that toggles mouse control.
- Log in to comment
It seems Alt+Tab is counting as Tab also for enabling the mouse control.
"Hyperspace speed turning" might be just an unintended visual effect. The mouse turning rate is unclamped and that may make the ship turn much faster with the mouse than it could ever turn with the joystick.
The starfield is programmed to "blur" the stars when turning, so that they stretch from current position to previous frame's position. This, together with the unclamped mouse turning rate might be mistaked with "hyperspace turning".
We need to make "Alt+Tab" not count as "Tab". And probably clamp the mouse control turning rate.