disable SonarPen driver

This commit is contained in:
2018-09-21 02:26:05 +02:00
parent 7c7027502e
commit edff262baf
3 changed files with 6 additions and 6 deletions

View File

@@ -70,9 +70,9 @@ void global_signal_handler(int e)
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// Override point for customization after application launch.
NSSetUncaughtExceptionHandler(&global_exception_handler);
sonarpen_driver = [[WTSonarPenDriver alloc] initWithApplication:application];
[sonarpen_driver start];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(penStatusChanged) name:WTSonarPenDriverStateChangedNotification object:nil];
// sonarpen_driver = [[WTSonarPenDriver alloc] initWithApplication:application];
// [sonarpen_driver start];
// [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(penStatusChanged) name:WTSonarPenDriverStateChangedNotification object:nil];
view = (GameViewController*)self.window.rootViewController;
return YES;