public class Gamepad extends Objs
Objs.Constructor<T extends Objs>, Objs.Property<T>
Modifier and Type | Field and Description |
---|---|
Objs.Property<double[]> |
axes |
Objs.Property<GamepadButton[]> |
buttons |
Objs.Property<Boolean> |
connected |
Objs.Property<String> |
id |
Objs.Property<Number> |
index |
Objs.Property<String> |
mapping |
Objs.Property<Number> |
timestamp |
Modifier | Constructor and Description |
---|---|
protected |
Gamepad(Objs.Constructor<?> c,
Object js) |
Modifier and Type | Method and Description |
---|---|
static Gamepad |
$as(Object obj) |
double[] |
axes() |
GamepadButton[] |
buttons() |
Boolean |
connected() |
String |
id() |
Number |
index() |
String |
mapping() |
Number |
timestamp() |
$as, $cast, $delete, $get, $js, $set, create, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, newObject, newObject, preventExtensions, propertyIsEnumerable, seal, toLocaleString, toString, valueOf
public Objs.Property<double[]> axes
public Objs.Property<GamepadButton[]> buttons
public Objs.Property<Boolean> connected
public Objs.Property<String> id
public Objs.Property<Number> index
public Objs.Property<String> mapping
public Objs.Property<Number> timestamp
protected Gamepad(Objs.Constructor<?> c, Object js)
Copyright © 2018. All rights reserved.