Enumerationmigueldeicaza.swiftgodot 0.45.0SwiftGodot
JoyAxis
core-defs.swift:980enum JoyAxis
Cases
case invalid
An invalid game controller axis.
case leftX
Game controller left joystick x-axis.
case leftY
Game controller left joystick y-axis.
case rightX
Game controller right joystick x-axis.
case rightY
Game controller right joystick y-axis.
case triggerLeft
Game controller left trigger axis.
case triggerRight
Game controller right trigger axis.
case sdlMax
The number of SDL game controller axes.
case max
The maximum number of game controller axes: OpenVR supports up to 5 Joysticks making a total of 10 axes.
Citizens in SwiftGodot
Conformances
protocol CaseIterable
A type that provides a collection of all of its values.
protocol CustomDebugStringConvertible
A type with a customized textual representation suitable for debugging purposes.
protocol Equatable
A type that can be compared for value equality.
protocol Hashable
A type that can be hashed into a
Hasher
to produce an integer hash value.protocol RawRepresentable<RawValue>
A type that can be converted to and from an associated raw value.
Type members
Instance members
var debugDescription: String
A textual representation of this instance, suitable for debugging
Type features
static func != (lhs: Self, rhs: Self
) -> Bool Returns a Boolean value indicating whether two values are not equal.