add mouse pointer velocity tweak for trackpad (relative) mode

This commit is contained in:
True Zhuanjia committed 2024-06-23 21:31:18 +08:00
1 parent 001deeee66
commit a5c8224023
12 files changed
+575 -520

No files matched your search

+1 -1
View File
@@ -100,7 +100,7 @@ static const double X1_MOUSE_SPEED_DIVISOR = 2.5;
case NATIVE_TOUCH_MODE:
self->touchHandler = [[NativeTouchHandler alloc] initWithView:self andSettings:settings];break;
case RELATIVE_TOUCH_MODE:
self->touchHandler = [[RelativeTouchHandler alloc] initWithView:self];
self->touchHandler = [[RelativeTouchHandler alloc] initWithView:self andSettings:settings];
keyboardToggleRecognizer.immediateTriggering = true; //triggers signal in touchesBegan callback stage
break;
case ABSOLUTE_TOUCH_MODE: