- enhanced relative touch (touchpad mode & "mousePad" widget) pointer accuracy

- touchpad gesture simulation for touchPad & single point mode
This commit is contained in:
TrueZhuanjia
2025-11-06 11:52:13 +08:00
parent a23a5491ae
commit e933c5de60
15 changed files with 250 additions and 172 deletions
+2 -1
View File
@@ -170,7 +170,7 @@ static const double X1_MOUSE_SPEED_DIVISOR = 2.5;
[_onScreenControls setLevel:OnScreenControlsLevelOff];
//pass touchesCaptureByOnScreenButtons Set to the native touchhandler, this NSSet is init witihin onscreencontrols class, don't do it again in native touch handler class
[OnScreenControls.touchAddrsCapturedByOnScreenControls removeAllObjects]; // reset the attribute to nil
[OnScreenControls.touchesCapturedByOnScreenControls removeAllObjects]; // reset the attribute to nil
/*
if(settings.touchMode.intValue == NativeTouch){
@@ -237,6 +237,7 @@ static const double X1_MOUSE_SPEED_DIVISOR = 2.5;
keyboardToggleRecognizer.delaysTouchesBegan = NO;
keyboardToggleRecognizer.delaysTouchesEnded = NO;
[self->_streamFrameTopLayerView addGestureRecognizer:keyboardToggleRecognizer];
keyboardToggleRecognizer.touchCapturingView = self;
}
- (void)keyboardWillShow:(NSNotification *)notification{