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.