From 5e0e12531b51fc3f904ec11849f62aa73a928c22 Mon Sep 17 00:00:00 2001 From: Nipun Garg Date: Sat, 29 Jun 2019 00:42:24 +0530 Subject: HDB: Update Mouse data for buttons --- engines/hdb/input.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'engines/hdb/input.h') diff --git a/engines/hdb/input.h b/engines/hdb/input.h index e585d0a56f..d649c21928 100644 --- a/engines/hdb/input.h +++ b/engines/hdb/input.h @@ -36,10 +36,7 @@ enum Button { kButtonB = 2 << 5, kButtonC = 2 << 6, kButtonD = 2 << 7, - kButtonMouseL = 2 << 8, - kButtonMouseM = 2 << 9, - kButtonMouseR = 2 << 10, - kButtonExit = 2 << 11 + kButtonExit = 2 << 8 }; class Input { @@ -68,6 +65,7 @@ private: bool _stylusDown; int _stylusDownX, _stylusDownY; int _mouseX, _mouseY; + int _mouseLButton, _mouseMButton, _mouseRButton; // Definable Keys int _keyUp, _keyDown, _keyLeft, _keyRight; -- cgit v1.2.3