OSX/pen: change sensivity graduation to a good value found with Sebastian and remove debug print

This commit is contained in:
Jens Verwiebe 2013-03-19 12:29:38 +00:00
parent 05787db61f
commit a207d76709

@ -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;
}