mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-17 20:10:23 +03:00
Fix First Mosue Event Being Skipped
This commit is contained in:
@@ -59,6 +59,11 @@ struct MouseAction
|
||||
class MouseDevice
|
||||
{
|
||||
public:
|
||||
MouseDevice()
|
||||
{
|
||||
_index = -1;
|
||||
}
|
||||
|
||||
void feed(MouseButtonType buttonType, bool buttonState, int posX, int posY);
|
||||
short getX();
|
||||
short getY();
|
||||
|
||||
Reference in New Issue
Block a user