Hi everyone,
Sidney and I did some more tests, and it turns out that the mouse event
problem is caused by a feature of VirtualBox, called "mouse
integration". It is used to combine the desktop of the host and of
VirtualBox to a single desktop, and obviously confuses SDL2. It can be
turned off. Without mouse integration, Enigma works fine. We therefore
think that no further action is necessary on our side, except maybe
somewhere a note that virtualization and mouse integration might break
the game.
Another bug has been reported by Georg: Rubberbands cause Enigma to
crash, but only on Windows 10, not on Linux, and not even on Wine.
Diagnosis is ongoing. If someone can hand me a backtrace, this would be
great! (Example in case: Just load Ariadne. Enigma will crash and shut
down without error messages or relevant log entries. Wires are not
affected.)
Regards
Andreas
Am 26.12.20 um 13:50 schrieb Sidney Markowitz:
Andreas Lochmann wrote on 26/12/20 1:40 pm:
I wrote a first draft of a manual relative mouse mode, in branch
"alternative-mouse-input-1.3". You find the new button in the options
menu,
[ ... ]
Could you check if the "slow"-mode at least works for you? Thank you
in advance.
"Slow" mode works to some degree. In that mode, I have some control
over the mouse, but it is is finicky to an unusable degree. I find it
hard to describe exactly what it is doing. Sometimes it seems as if I
move the mouse down, the ball moves up, I move the mouse up, the ball
moves up, I move the mouse right, the ball moves right, I move the
mouse left the ball moves right. But it isn't that clear-cut, if I
move the mouse quickly, down, for example, the ball might move down.
Mostly it seems like the ball responds erratically to the mouse
movement. I can get the mouse outside of the Enigma window, in which
case I get mouse events showing again in the log, this time with
numbers in the minus to plus 300 range.
With all that, if I set the mouse speed to anything higher than 1, the
mouse moves too quickly and erratically for me to do anything at all
with it.
Regards,
Sidney