feat: functional button "AbsTchDrag"

This commit is contained in:
TrueZhuanjia
2025-11-05 11:51:29 +08:00
parent 1ad8f51b7a
commit a23a5491ae
7 changed files with 99 additions and 27 deletions
+9
View File
@@ -1381,6 +1381,15 @@ static const double X1_MOUSE_SPEED_DIVISOR = 2.5;
LiSendScrollEvent(deltaZ);
}
- (void)alterAbsTouchDragWith:(int32_t)mouseButton{
if([touchHandler isKindOfClass:[AbsoluteTouchHandler class]]){
AbsoluteTouchHandler* handler = (AbsoluteTouchHandler* )touchHandler;
handler.mouseButtonForCursorMove = mouseButton;
[handler pauseLeftButtonDrag];
}
else return;
}
#if !TARGET_OS_TV
- (BOOL)isMultipleTouchEnabled {