diff options
Diffstat (limited to 'engines/hdb')
-rw-r--r-- | engines/hdb/input.cpp | 2 | ||||
-rw-r--r-- | engines/hdb/input.h | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/engines/hdb/input.cpp b/engines/hdb/input.cpp index 0819410932..462c65cafa 100644 --- a/engines/hdb/input.cpp +++ b/engines/hdb/input.cpp @@ -32,6 +32,8 @@ bool Input::init() { _mouseX = kScreenWidth / 2; _mouseY = kScreenHeight / 2; + _mouseLButton = _mouseMButton = _mouseRButton = 0; + return true; } 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; |