revert pencil force tweak
This commit is contained in:
1 parent
63d5417a2c
commit
4440c668f1
3 files changed
+5
-2
No files matched your search
@@ -42,7 +42,8 @@ import UIKit
|
|||||||
tickInterval = TimeInterval(settings.pencilTickIntervalUs.floatValue/1000000)
|
tickInterval = TimeInterval(settings.pencilTickIntervalUs.floatValue/1000000)
|
||||||
manualTick = settings.pencilTickMode.intValue == PencilTickMode.ManualTick.rawValue
|
manualTick = settings.pencilTickMode.intValue == PencilTickMode.ManualTick.rawValue
|
||||||
pencilTickEnabled = settings.pencilTickMode.intValue != PencilTickMode.PencilTickDisabled.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()
|
super.init()
|
||||||
setupPressureLUT()
|
setupPressureLUT()
|
||||||
PencilHandler.shared = self
|
PencilHandler.shared = self
|
||||||
|
|||||||
@@ -157,7 +157,7 @@ NSString *const deviceName = @"roth";
|
|||||||
|
|
||||||
+ (bool)needUpdateDefaultSettings {
|
+ (bool)needUpdateDefaultSettings {
|
||||||
// NSString *key = @"needUpdateDefaultSettings20260209";
|
// NSString *key = @"needUpdateDefaultSettings20260209";
|
||||||
NSString *key = @"needUpdateDefaultSettings20260215";
|
NSString *key = @"needUpdateDefaultSettings20260215-2";
|
||||||
BOOL updatedBefore = [[NSUserDefaults standardUserDefaults] boolForKey:key];
|
BOOL updatedBefore = [[NSUserDefaults standardUserDefaults] boolForKey:key];
|
||||||
|
|
||||||
if (!updatedBefore) {
|
if (!updatedBefore) {
|
||||||
|
|||||||
@@ -1602,6 +1602,8 @@ static NSMutableSet* hostList;
|
|||||||
settings.touchMoveEventInterval = [Utils isIPhone] ? @(45) : @(0);
|
settings.touchMoveEventInterval = [Utils isIPhone] ? @(45) : @(0);
|
||||||
if([UIScreen mainScreen].maximumFramesPerSecond < 65) settings.touchMoveEventInterval = @(60);
|
if([UIScreen mainScreen].maximumFramesPerSecond < 65) settings.touchMoveEventInterval = @(60);
|
||||||
|
|
||||||
|
settings.pencilTickIntervalUs = @(1750);
|
||||||
|
|
||||||
[dataMan saveData];
|
[dataMan saveData];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user