GdkAxisUse

An enumeration describing the way in which a device axis (valuator) maps onto the predefined valuator types that GTK+ understands.

Note that the X and Y axes are not really needed; pointer devices report their location via the x/y members of events regardless. Whether X and Y are present as axes depends on the GDK backend.

Values

ValueMeaning
IGNORE0

the axis is ignored.

X1

the axis is used as the x axis.

Y2

the axis is used as the y axis.

PRESSURE3

the axis is used for pressure information.

XTILT4

the axis is used for x tilt information.

YTILT5

the axis is used for y tilt information.

WHEEL6

the axis is used for wheel information.

DISTANCE7

the axis is used for pen/tablet distance information. (Since: 3.22)

ROTATION8

the axis is used for pen rotation information. (Since: 3.22)

SLIDER9

the axis is used for pen slider information. (Since: 3.22)

LAST10

a constant equal to the numerically highest axis value.

Meta