disable async touch down&move priorities by GUI

This commit is contained in:
TrueZhuangjia
2025-04-09 21:21:23 +08:00
committed by TrueZhuanjia
parent 238eb816d0
commit c8ebdc0a88
8 changed files with 90 additions and 214 deletions
+3 -3
View File
@@ -65,17 +65,17 @@
self->asyncNativeTouch = settings.asyncNativeTouchPriority.intValue != AsyncNativeTouchOff;
switch(settings.asyncNativeTouchPriority.intValue){
case TouchDownPriority:
case TouchDownPriority: // deprecated by GUI
touchDownQos = QOS_CLASS_USER_INTERACTIVE;
touchMoveQos = QOS_CLASS_USER_INITIATED;
touchEndQos = QOS_CLASS_USER_INITIATED;
break;
case TouchMovePriority:
case TouchMovePriority: // deprecated by GUI
touchDownQos = QOS_CLASS_USER_INITIATED;
touchMoveQos = QOS_CLASS_USER_INTERACTIVE;
touchEndQos = QOS_CLASS_USER_INITIATED;
break;
case EqualPriority:
case EqualPriority: // equals to async touch is true now
touchDownQos = QOS_CLASS_USER_INTERACTIVE;
touchMoveQos = QOS_CLASS_USER_INTERACTIVE;
touchEndQos = QOS_CLASS_USER_INITIATED;