Gamepad

bearlyb.events.Event.Gamepad
enum Gamepad 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: Axis, value: Int)
final case class ButtonDown(timestamp: Duration, which: JoystickID, button: Button, down: Boolean)
final case class ButtonUp(timestamp: Duration, which: JoystickID, button: Button, down: Boolean)
final case class Remapped(timestamp: Duration, which: JoystickID)
final case class Removed(timestamp: Duration, which: JoystickID)
final case class SensorUpdate(timestamp: Duration, which: JoystickID, data: SensorData, sensorTimestamp: Long)
final case class SteamHandleUpdated(timestamp: Duration, which: JoystickID)
final case class TouchpadDown(timestamp: Duration, which: JoystickID, touchpad: Int, finger: Int, x: Float, y: Float, pressure: Float)
final case class TouchpadMotion(timestamp: Duration, which: JoystickID, touchpad: Int, finger: Int, x: Float, y: Float, pressure: Float)
final case class TouchpadUp(timestamp: Duration, which: JoystickID, touchpad: Int, finger: Int, x: Float, y: Float, pressure: Float)
final case class UpdateComplete(timestamp: Duration, which: JoystickID)