Gamepad class

Inheritance
Annotations
  • @DocsEditable()
  • @DomName('Gamepad')
  • @Experimental()

Static Properties

instanceRuntimeType → Type
@Deprecated("Internal Use Only"), read-only

Constructors

Gamepad.internal_()

Properties

axes → List<num>
@DocsEditable(), @DomName('Gamepad.axes'), read-only
buttons → List<GamepadButton>
@DocsEditable(), @DomName('Gamepad.buttons'), read-only
connected → bool
@DocsEditable(), @DomName('Gamepad.connected'), @Experimental(), read-only
id → String
@DocsEditable(), @DomName('Gamepad.id'), read-only
index → int
@DocsEditable(), @DomName('Gamepad.index'), read-only
mapping → String
@DocsEditable(), @DomName('Gamepad.mapping'), @Experimental(), read-only
timestamp → int
@DocsEditable(), @DomName('Gamepad.timestamp'), read-only
hashCode → int
read-only, inherited
runtimeType → Type
read-only, inherited

A representation of the runtime type of the object.

Operators

operator ==(other) → bool
inherited

The equality operator.

Methods

noSuchMethod(Invocation invocation) → dynamic
inherited

Invoked when a non-existent method or property is accessed.

toString() → String
inherited

Returns the result of the JavaScript objects toString method.

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/Gamepad-class.html