diff options
author | Jens Verwiebe <info@jensverwiebe.de> | 2013-03-19 16:29:38 +0400 |
---|---|---|
committer | Jens Verwiebe <info@jensverwiebe.de> | 2013-03-19 16:29:38 +0400 |
commit | a207d76709dd021bdefa682a946ce0db0b43c30b (patch) | |
tree | 5bf73cdbb99785dbcae6eb4e60c411b7402c335c | |
parent | 05787db61f88688e83130cf6f5f4d4d31264e8cc (diff) |
OSX/pen: change sensivity graduation to a good value found with Sebastian and remove debug print
-rw-r--r-- | intern/ghost/intern/GHOST_SystemCocoa.mm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/intern/ghost/intern/GHOST_SystemCocoa.mm b/intern/ghost/intern/GHOST_SystemCocoa.mm index c267bd033a6..37fee1570e9 100644 --- a/intern/ghost/intern/GHOST_SystemCocoa.mm +++ b/intern/ghost/intern/GHOST_SystemCocoa.mm @@ -1404,7 +1404,7 @@ GHOST_TSuccess GHOST_SystemCocoa::handleTabletEvent(void *eventPtr, short eventT switch (eventType) { case NSTabletPoint: - ct.Pressure = sqrtf(powf([event pressure], 8 )); // experimental: change sensivity curve + ct.Pressure = sqrtf(powf([event pressure], 5 )); // experimental: change sensivity curve ct.Xtilt = [event tilt].x; ct.Ytilt = [event tilt].y; break; @@ -1441,7 +1441,6 @@ GHOST_TSuccess GHOST_SystemCocoa::handleTabletEvent(void *eventPtr, short eventT return GHOST_kFailure; break; } - // NSLog(@"pressure %f", ct.Pressure); return GHOST_kSuccess; } |