On 07/28/2014 09:41 AM, Jason Gerecke wrote:
Normalizing the data is fine, but the resolution data needs to be available somewhere as well. The GTK+ API doesn't require anything more than the former, but Qt requires that there be some way to turn the normalized value into degrees. For libinput this could be something as simple as a "get_axis_resolution" function that returns the number of radians (or mm, or newtons, or some other physical unit) that the normalized value +1.0 corresponds to. I suppose Wayland would let make the value available through the wl_tablet_manager somehow.
Are you sure about these terms? I would think "resolution" should be used to identify how many discreet positions the device can obtain. What you are asking for I think would be better to call a "range" or "scale".
_______________________________________________ wayland-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/wayland-devel
