class

Opal::Input::Gamepad::FocusMapper

Inherits Reference < Object

Translates gamepad events into standard UI focus traversal, activation, and viewport scrolling actions.

Instance methods

enabled=(enabled : Bool)
Source
enabled?
Source
handle(event : Event) : Nil

Dispatches a gamepad event through the mapper

Source
hook(btn : Button, &block : -> Nil) : self
Source
on_activate
Source
on_cancel
Source
on_next_focus
Source
on_next_slide
Source
on_prev_focus
Source
on_prev_slide
Source
on_scroll
Source