Packages

trait GamepadButton extends Any

Represents the state of a button.

Annotations
@JSType()
Linear Supertypes
Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GamepadButton
  2. Any
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract val pressed: Boolean

    True if the button is pressed, false otherwise.

  2. abstract val value: Double

    The value of this gamepad button, 0 is fully unpressed, 1 is fully pressed.