mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-02 17:03:13 +00:00
HDB: Update Mouse data for buttons
This commit is contained in:
parent
6d75390e84
commit
5e0e12531b
@ -32,6 +32,8 @@ bool Input::init() {
|
||||
_mouseX = kScreenWidth / 2;
|
||||
_mouseY = kScreenHeight / 2;
|
||||
|
||||
_mouseLButton = _mouseMButton = _mouseRButton = 0;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user