wl_tablet draft v2

Bill Spitzak spitzak at gmail.com
Mon Jul 28 10:54:03 PDT 2014


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".


More information about the wayland-devel mailing list