Class: Ruby2D::Window::GamepadEvents::GamepadConnectData
- Inherits:
-
Struct
- Object
- Struct
- Ruby2D::Window::GamepadEvents::GamepadConnectData
- Defined in:
- lib/ruby2d/window/gamepad_events.rb
Overview
Internal dispatch structs for filter matching. Never exposed to user code — handlers receive unpacked args (gamepad / button / axis / value), not the struct.
Instance Attribute Summary collapse
-
#gamepad ⇒ Object
Returns the value of attribute gamepad.
Instance Method Summary collapse
Instance Attribute Details
#gamepad ⇒ Object
Returns the value of attribute gamepad
17 18 19 |
# File 'lib/ruby2d/window/gamepad_events.rb', line 17 def gamepad @gamepad end |
Instance Method Details
#gamepad?(other) ⇒ Boolean
18 |
# File 'lib/ruby2d/window/gamepad_events.rb', line 18 def gamepad?(other) = gamepad.equal?(other) |