Skip to content
Snippets Groups Projects
Commit 72121d6f authored by Peter Hutterer's avatar Peter Hutterer
Browse files

tablet: reduce the pressure range by the offset


Previously, the pressure range was calculated from the axis total range. A
device with a pressure offset making the bottom 10% inaccessible would lose
10% of that range as non-accessible. Due to the implementation, this affected
the upper range of the device, so the top N percent became unaccessible. Which
may be why no-one's noticed this yet.

Signed-off-by: default avatarPeter Hutterer <peter.hutterer@who-t.net>
parent f97e361d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment