public class SendGamepadEventCommandParams
extends OCastCommandParams
Represents the parameters of a gamepadEvent command.
| Modifier and Type | Class and Description |
|---|---|
static class |
SendGamepadEventCommandParams.Axis
Represents a gamepad axis.
|
| Constructor and Description |
|---|
SendGamepadEventCommandParams(java.util.List<org.ocast.sdk.core.models.SendGamepadEventCommandParams.Axis> axes,
java.util.EnumSet<org.ocast.sdk.core.models.SendGamepadEventCommandParams.Button> buttons)
Creates an instance of
class SendGamepadEventCommandParams. |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<org.ocast.sdk.core.models.SendGamepadEventCommandParams.Axis> |
getAxes()
The axes of the gamepad.
|
java.util.EnumSet<org.ocast.sdk.core.models.SendGamepadEventCommandParams.Button> |
getButtons()
The combination of gamepad buttons pressed.
|
build, getName, optionspublic SendGamepadEventCommandParams(@NotNull
java.util.List<org.ocast.sdk.core.models.SendGamepadEventCommandParams.Axis> axes,
@NotNull
java.util.EnumSet<org.ocast.sdk.core.models.SendGamepadEventCommandParams.Button> buttons)
Creates an instance of class SendGamepadEventCommandParams.
axes - The axes of the gamepad.buttons - The combination of gamepad buttons pressed.class SendGamepadEventCommandParams@NotNull public java.util.List<org.ocast.sdk.core.models.SendGamepadEventCommandParams.Axis> getAxes()
The axes of the gamepad.
@NotNull public java.util.EnumSet<org.ocast.sdk.core.models.SendGamepadEventCommandParams.Button> getButtons()
The combination of gamepad buttons pressed.