forked from AuroraMiddleware/gtk
device: Add distance/rotation/slider GdkAxisUse values
These are possible to handle in tablets, so add a value for these in the axis enum.
This commit is contained in:
parent
adff59843b
commit
32d7ba76b3
@ -89,6 +89,9 @@ typedef enum
|
|||||||
* @GDK_AXIS_XTILT: the axis is used for x tilt information.
|
* @GDK_AXIS_XTILT: the axis is used for x tilt information.
|
||||||
* @GDK_AXIS_YTILT: the axis is used for y tilt information.
|
* @GDK_AXIS_YTILT: the axis is used for y tilt information.
|
||||||
* @GDK_AXIS_WHEEL: the axis is used for wheel information.
|
* @GDK_AXIS_WHEEL: the axis is used for wheel information.
|
||||||
|
* @GDK_AXIS_DISTANCE: the axis is used for pen/tablet distance information. (Since: 3.22)
|
||||||
|
* @GDK_AXIS_ROTATION: the axis is used for pen rotation information. (Since: 3.22)
|
||||||
|
* @GDK_AXIS_SLIDER: the axis is used for pen slider information. (Since: 3.22)
|
||||||
* @GDK_AXIS_LAST: a constant equal to the numerically highest axis value.
|
* @GDK_AXIS_LAST: a constant equal to the numerically highest axis value.
|
||||||
*
|
*
|
||||||
* An enumeration describing the way in which a device
|
* An enumeration describing the way in which a device
|
||||||
@ -104,6 +107,9 @@ typedef enum
|
|||||||
GDK_AXIS_XTILT,
|
GDK_AXIS_XTILT,
|
||||||
GDK_AXIS_YTILT,
|
GDK_AXIS_YTILT,
|
||||||
GDK_AXIS_WHEEL,
|
GDK_AXIS_WHEEL,
|
||||||
|
GDK_AXIS_DISTANCE,
|
||||||
|
GDK_AXIS_ROTATION,
|
||||||
|
GDK_AXIS_SLIDER,
|
||||||
GDK_AXIS_LAST
|
GDK_AXIS_LAST
|
||||||
} GdkAxisUse;
|
} GdkAxisUse;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user