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

@@ -276,8 +276,8 @@ std::set<UITouch*> ignored_touch;
UITouch *touch = valid_touches[0];
CGPoint touchLocation = [touch locationInView:self.view];
float force = touch.type == UITouchType::UITouchTypeStylus ? touch.force : 1.0f;
AppDelegate* app = (AppDelegate*)[[UIApplication sharedApplication] delegate];
force = [app sonarpen_pressure];
//AppDelegate* app = (AppDelegate*)[[UIApplication sharedApplication] delegate];
//force = [app sonarpen_pressure];
if (t_count == 2)
{
//App::I.gesture_end();