mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-16 21:05:23 +00:00
CAutomobile::ProcessControlInputs
This commit is contained in:
parent
3e1455cc37
commit
0548476ba6
7 changed files with 154 additions and 8 deletions
|
@ -289,6 +289,10 @@ public:
|
|||
|
||||
// mouse
|
||||
bool GetLeftMouseJustDown() { return !!(NewMouseControllerState.LMB && !OldMouseControllerState.LMB); }
|
||||
bool GetRightMouseJustDown() { return !!(NewMouseControllerState.RMB && !OldMouseControllerState.RMB); }
|
||||
bool GetMiddleMouseJustDown() { return !!(NewMouseControllerState.MMB && !OldMouseControllerState.MMB); }
|
||||
float GetMouseX() { return NewMouseControllerState.x; }
|
||||
float GetMouseY() { return NewMouseControllerState.y; }
|
||||
|
||||
// keyboard
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue