mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-16 05:37:00 +00:00
inputsystem: fix UB in touch events callback, make touch more responsive
This commit is contained in:
@@ -119,6 +119,7 @@ public:
|
||||
|
||||
// read and clear accumulated raw input values
|
||||
virtual bool GetRawMouseAccumulators( int& accumX, int& accumY ) = 0;
|
||||
virtual bool GetTouchAccumulators( int fingerId, float &dx, float &dy ) = 0;
|
||||
|
||||
// tell the input system that we're not a game, we're console text mode.
|
||||
// this is used for dedicated servers to not initialize joystick system.
|
||||
|
||||
Reference in New Issue
Block a user