[Scummvm-devel] ScummVM middle mouse button
Paul Gilbert
paulfgilbert at gmail.com
Sat Dec 29 04:55:18 CET 2007
Hi everyone,
On review, I realised that the original Lure executable had support for the
middle mouse button to abort any active conversation the player is currently
in; I also wanted the middle button to close/accept dialogs now that I'm
adding scroll wheel support in some areas. ScummVM, however, doesn't
currently have any middle mouse button events.
On my local copy I've added a new EVENT_MBUTTONDOWN and EVENT_MBUTTONUP to
Common::EventType, and added a fragment to backends/platforms/sdl/events.cpp
that, similiar to wheel up/down, has a block with #if
defined(SDL_BUTTON_MIDDLE) and sets the event type appropriately.
I know that there's an eventual intention to combine all the mouse events
into a single down/up event, but for now would it be okay for me to commit
this into the development branch?
Paul.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scummvm.org/pipermail/scummvm-devel/attachments/20071229/ce02df24/attachment.html>
More information about the Scummvm-devel
mailing list