I have noticed when mousebuttons are pressed, not only mousebutton variable 27 reacts but also variable 19 which is dedicated for "key pressed on the keyboard". Apparently v19 reacts to scroll wheel as well. While support for scroll wheel is welcome, couldn't all changes in mouse buttons be registered only by v27 instead of v19 reacting as well?
One more thing, if left mouse button value 1 and right mouse value 2 are excluded, AGI Mouse, NAGI and ScummVM have all more or less different reactions and values for mousebutton combinations and different mousebuttons, so if there will be changes, could you please try to unify the values little bit for ScummVM, would be easier for any remaining AGI game developers.
Here's a list of different interpreters and their reactions to mouse:
AGI Mouse 1.1:
Left button 1
Right button 2
Left + right 3
Middle button 4
NAGI 2.09 (with SDL 1.2.14.0, originally supplied with older version 1.2.9.0 which did not support Windows 7 so well. It started to register thumb buttons only after the latest SDL):
Left button 1
Right button 2 for moment but if pressed longer 4
Left + right 5
Middle button 2
(Logitech MX 518):
Thumb button 1 32
Thumb button 2 64
ScummVM 1.2.05:
v27:
Left button 1
Right button 2
Middle button 1 or 2, depending which has been pressed later
v19:
Left button 1
Right button 2
Wheel forward 3
Wheel backward 4
And then while testing, all the sudden, this appeared out from nowhere:
AGI Mouse-game behaviour
Moderator: ScummVM Team
ScummVM should interpret left mouse button as 1, right mouse button as 2, both left and right mousebuttons pressed simultaneously as 3, middle button (scroll wheel) as 4, just like in AGI Mouse, and if possible, support scroll wheel but with mouse only. Values for scroll wheel forward and backward could be 5 and 6.sev wrote:sact, could you please post a feature request about mouse behavior?
Eugene
What ScummVM should not do, is to interpret mousebuttons/wheel usage as keyboard activity like it does now. Restrict mousebuttons ( and scroll wheel) to only variable 27, variable 19 is for keyboard only.
That's good, but forums are not suitable for such reports as they could be easily forgotten and lost. Please submit it here.
Eugene
Eugene