[Xcb] Xinput: units of the coordinates in motion-events?

Christophe Lohr christophe.lohr at cegetel.net
Thu Oct 25 19:02:00 UTC 2018


Le 25/10/2018 à 18:12, Uli Schlachter a écrit :
>> Simply speaking, how to convert a FP1616 into a float?
>> (I just have to do  FP1616 / 2^16 )?
> ...yes. Is there any problem with just doing that?
>
> See e.g. https://en.wikipedia.org/wiki/Fixed-point_arithmetic on fixed
> point numbers.

oups
"fixed point": the specification yet clearly tell it
I didn't catch it ;-) Sorry
Many thanks for your patience

Regards



More information about the Xcb mailing list