revert pencil force tweak
This commit is contained in:
@@ -42,7 +42,8 @@ import UIKit
|
||||
tickInterval = TimeInterval(settings.pencilTickIntervalUs.floatValue/1000000)
|
||||
manualTick = settings.pencilTickMode.intValue == PencilTickMode.ManualTick.rawValue
|
||||
pencilTickEnabled = settings.pencilTickMode.intValue != PencilTickMode.PencilTickDisabled.rawValue
|
||||
initialMoveEventIndexLimit = UIScreen.main.maximumFramesPerSecond > 60 ? 4 : 2
|
||||
// initialMoveEventIndexLimit = UIScreen.main.maximumFramesPerSecond > 60 ? 4 : 2
|
||||
initialMoveEventIndexLimit = 0
|
||||
super.init()
|
||||
setupPressureLUT()
|
||||
PencilHandler.shared = self
|
||||
|
||||
@@ -157,7 +157,7 @@ NSString *const deviceName = @"roth";
|
||||
|
||||
+ (bool)needUpdateDefaultSettings {
|
||||
// NSString *key = @"needUpdateDefaultSettings20260209";
|
||||
NSString *key = @"needUpdateDefaultSettings20260215";
|
||||
NSString *key = @"needUpdateDefaultSettings20260215-2";
|
||||
BOOL updatedBefore = [[NSUserDefaults standardUserDefaults] boolForKey:key];
|
||||
|
||||
if (!updatedBefore) {
|
||||
|
||||
@@ -1602,6 +1602,8 @@ static NSMutableSet* hostList;
|
||||
settings.touchMoveEventInterval = [Utils isIPhone] ? @(45) : @(0);
|
||||
if([UIScreen mainScreen].maximumFramesPerSecond < 65) settings.touchMoveEventInterval = @(60);
|
||||
|
||||
settings.pencilTickIntervalUs = @(1750);
|
||||
|
||||
[dataMan saveData];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user