mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-09 11:20:56 +00:00
SCI: adding support for middle mouse button
svn-id: r51422
This commit is contained in:
parent
00ff92e9e0
commit
8a843b6c21
@ -313,6 +313,10 @@ SciEvent EventManager::getScummVMEvent() {
|
||||
input.type = SCI_EVENT_MOUSE_PRESS;
|
||||
input.data = 2;
|
||||
break;
|
||||
case Common::EVENT_MBUTTONDOWN:
|
||||
input.type = SCI_EVENT_MOUSE_PRESS;
|
||||
input.data = 3;
|
||||
break;
|
||||
case Common::EVENT_LBUTTONUP:
|
||||
input.type = SCI_EVENT_MOUSE_RELEASE;
|
||||
input.data = 1;
|
||||
@ -321,6 +325,10 @@ SciEvent EventManager::getScummVMEvent() {
|
||||
input.type = SCI_EVENT_MOUSE_RELEASE;
|
||||
input.data = 2;
|
||||
break;
|
||||
case Common::EVENT_MBUTTONUP:
|
||||
input.type = SCI_EVENT_MOUSE_RELEASE;
|
||||
input.data = 3;
|
||||
break;
|
||||
|
||||
// Misc events
|
||||
case Common::EVENT_QUIT:
|
||||
|
Loading…
Reference in New Issue
Block a user