[WinInk] Clip tilt angles to 60 instead of scaling 2/3
ClosedPublic

Authored by alvinhochun on Sep 28 2017, 9:06 PM.

Details

Summary

From testing on my Surface Pro (2017) and getting tablet logs, it seems that the highest raw tilt angle value I can get is 63, instead of the actual range of 90. Therefore it seems to be a better idea to clip the angle to +/-60 instead of attempting to scale the value down by 2/3.

@dkazakov Can you test 3.3 with tablet logging using your intuos and see if you get any tilt angles over 40 (2/3 of 60)?

Diff Detail

Repository
R37 Krita
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
alvinhochun created this revision.Sep 28 2017, 9:06 PM
This revision was automatically updated to reflect the committed changes.
This revision was automatically updated to reflect the committed changes.