<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 8, 2015 at 8:29 PM, Peter Hutterer <span dir="ltr"><<a href="mailto:peter.hutterer@who-t.net" target="_blank">peter.hutterer@who-t.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
good point, that does seem to be the best approach here.<br>
the resolution claimed was 800 dpi -> 31 u/mm.<br>
I'm a bit worried about doing this though, the reporter in<br>
<a href="https://bugs.freedesktop.org/show_bug.cgi?id=90101" rel="noreferrer" target="_blank">https://bugs.freedesktop.org/show_bug.cgi?id=90101</a><br>
measured a touchpad size of 86x44mm, at 31 u/mm the touchpad only comes to<br>
80x34mm. That's not promising, but then again it's not the first touchpad<br>
that's confused about its size.<br>
So we may have to override this for some devices anyway.<br></blockquote><div><br></div><div>800 dpi =  ~31.496 u/mm<br><br></div><div>That is really close to 31.5, which produces the biggest error when rounding to an integer.<br><br></div><div><br></div></div></div></div>