mirror of
https://github.com/edubart/otclient.git
synced 2025-10-18 21:43:26 +02:00
implement auto repeat configuration for key press events, to give more flexibility
This commit is contained in:
@@ -37,8 +37,8 @@ struct InputEvent {
|
||||
mouseButton = Fw::MouseNoButton;
|
||||
keyCode = Fw::KeyUnknown;
|
||||
keyText = "";
|
||||
autoRepeatTicks = 0;
|
||||
mouseMoved = Point();
|
||||
wouldFilter = false;
|
||||
};
|
||||
|
||||
Fw::InputEventType type;
|
||||
@@ -49,7 +49,7 @@ struct InputEvent {
|
||||
int keyboardModifiers;
|
||||
Point mousePos;
|
||||
Point mouseMoved;
|
||||
bool wouldFilter;
|
||||
int autoRepeatTicks;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user