Joystick

bearlyb.events.Event.Joystick
enum Joystick extends Event

Attributes

Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
trait Event
class Object
trait Matchable
class Any
Show all

Members list

Type members

Enum entries

final case class Added(timestamp: Duration, which: JoystickID)
final case class AxisMotion(timestamp: Duration, which: JoystickID, axis: Byte, value: Int)
final case class BallMotion(timestamp: Duration, which: JoystickID, ball: Byte, xrel: Int, yrel: Int)
final case class BatteryUpdated(timestamp: Duration, which: JoystickID, state: PowerState, percent: Int)
final case class ButtonDown(timestamp: Duration, which: JoystickID, button: Byte, down: Boolean)
final case class ButtonUp(timestamp: Duration, which: JoystickID, button: Byte, down: Boolean)
final case class HatMotion(timestamp: Duration, which: JoystickID, hat: Byte, value: HatPosition)
final case class Removed(timestamp: Duration, which: JoystickID)
final case class UpdateComplete(timestamp: Duration, which: JoystickID)