dix: document transformAbsolute
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Jamey Sharp <jamey@minilop.net> Reviewed-by: Daniel Stone <daniel@fooishbar.org>
This commit is contained in:
parent
f4ca19ce3a
commit
7074ec87bd
|
@ -1020,6 +1020,14 @@ transform(struct pixman_f_transform *m, double *x, double *y)
|
|||
*y = p.v[1];
|
||||
}
|
||||
|
||||
/**
|
||||
* Apply the device's transformation matrix to the valuator mask and replace
|
||||
* the scaled values in mask. This transformation only applies to valuators
|
||||
* 0 and 1, others will be untouched.
|
||||
*
|
||||
* @param dev The device the valuators came from
|
||||
* @param[in,out] mask The valuator mask.
|
||||
*/
|
||||
static void
|
||||
transformAbsolute(DeviceIntPtr dev, ValuatorMask *mask)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue