enum

SF::Joystick::Axis

Inherits Enum / Comparable / Value / Object

Axes supported by SFML joysticks

Constants

X = 0

The X axis

Y = 1

The Y axis

Z = 2

The Z axis

R = 3

The R axis

U = 4

The U axis

V = 5

The V axis

PovX = 6

The X axis of the point-of-view hat

PovY = 7

The Y axis of the point-of-view hat

Instance methods

pov_x?

Returns true if this enum value equals PovX

Source
pov_y?

Returns true if this enum value equals PovY

Source
r?

Returns true if this enum value equals R

Source
u?

Returns true if this enum value equals U

Source
v?

Returns true if this enum value equals V

Source
x?

Returns true if this enum value equals X

Source
y?

Returns true if this enum value equals Y

Source
z?

Returns true if this enum value equals Z

Source