abstract class Controller
- Controller
- Reference
- Object
Direct Known Subclasses
Defined in:
crab/common/frontend/controller.crInstance Method Summary
- #emu : Emu
- #get_framebuffer : Slice(UInt16)
- #handle_controller_event(event : SDL::Event::JoyHat | SDL::Event::JoyButton) : Nil
- #handle_input(input : Input, pressed : Bool) : Nil
- #height : Int32
- #render_debug_items : Nil
- #render_menu : Nil
- #render_windows : Nil
- #run_until_frame : Nil
- #sync? : Bool
- #toggle_sync : Nil
- #width : Int32
- #window_height : Int32
- #window_width : Int32
Instance Method Detail
def handle_controller_event(event : SDL::Event::JoyHat | SDL::Event::JoyButton) : Nil
#