Package apple.gamecontroller.protocol
Interface GCDirectionPadElement
-
- All Superinterfaces:
GCPhysicalInputElement
public interface GCDirectionPadElement extends GCPhysicalInputElement
An object conforming to \c GCDirectionPadElement represents a four-way directional control element. A direction pad element contains a common grouping of 2 axis inputs, which can also be interpreted as 2 sets of mutually exclusive button pairs. Only one button in each pair, {up, down} and {left, right}, can be pressed at any given time. API-Since: 16.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull java.lang.Objectdown()The negative y-component of the dpad input.@NotNull java.lang.Objectleft()The negative x-component of the dpad input.@NotNull java.lang.Objectright()The positive x-component of the dpad input.@NotNull java.lang.Objectup()The positive y-component of the dpad input.@NotNull GCAxisInputxAxis()The horizontal/x-component of the dpad input.@NotNull GCAxisInputyAxis()The vertical/y-component of the dpad input.-
Methods inherited from interface apple.gamecontroller.protocol.GCPhysicalInputElement
aliases, localizedName, sfSymbolsName
-
-
-
-
Method Detail
-
down
@NotNull @NotNull java.lang.Object down()
The negative y-component of the dpad input.
-
left
@NotNull @NotNull java.lang.Object left()
The negative x-component of the dpad input.
-
right
@NotNull @NotNull java.lang.Object right()
The positive x-component of the dpad input.
-
up
@NotNull @NotNull java.lang.Object up()
The positive y-component of the dpad input.
-
xAxis
@NotNull @NotNull GCAxisInput xAxis()
The horizontal/x-component of the dpad input.
-
yAxis
@NotNull @NotNull GCAxisInput yAxis()
The vertical/y-component of the dpad input.
-
-