[Scummvm-tracker] [ScummVM :: Bugs] #7793: AGI: Better mapping for mouse buttons

ScummVM :: Bugs trac at scummvm.org
Tue Mar 5 05:15:58 UTC 2024


#7793: AGI: Better mapping for mouse buttons
----------------------------+--------------------------
Reporter:  SF/sterv         |       Owner:  (none)
    Type:  feature request  |      Status:  new
Priority:  normal           |   Component:  Engine: AGI
 Version:                   |  Resolution:
Keywords:                   |        Game:
----------------------------+--------------------------
Comment (by sluicebox):

 There are three requests in this 13 year old ticket:

 1. Set variable 27 like AGIMOUSE does
 2. Set variable 27 to new values in response to mouse scrollwheel
 3. Do not set variable 19 (keyboard) in response to mouse buttons

 We already do `#1` and did when this ticket was created, but there were
 problems with our AGIMOUSE implementation. I just fixed three AGIMOUSE
 issues, so I know that #1 is done and now works better than ever.

 `#2` is a feature request, but why? Maybe the OP was interested in adding
 this to a game, but that was 13 years ago. I'm not aware of any AGI games
 that use this. If they don't exist then I don't see the point. We already
 have plenty of dead AGI code to delete! =)

 `#3` sounds like we are doing inaccurate behavior. We are indeed writing
 to variable 19 when the mouse is clicked. But what does this affect? That
 input code is complex, I don't see how we can make changes to it without
 seeing results. (In fact, I know we won't!) I don't see any comments
 explaining why we do this, but it looks deliberate.

 I know I'm late to this party, but I want to give this ticket a fair shot.
 `#3` sounds interesting if we can learn more.
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/7793#comment:3>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list