class Chip8::SDLAdapter
Defined in:
chip8/sdl_adapter.cr
Constant Summary
-
DATA_DIR =
File.join("/srv/crystaldoc.info/github-rwojsznis-chip8.cr-master/src/chip8", "../data")
-
HEIGHT =
512
-
KEYMAP =
[LibSDL::Keycode::X, LibSDL::Keycode::KEY_1, LibSDL::Keycode::KEY_2, LibSDL::Keycode::KEY_3, LibSDL::Keycode::Q, LibSDL::Keycode::W, LibSDL::Keycode::E, LibSDL::Keycode::A, LibSDL::Keycode::S, LibSDL::Keycode::D, LibSDL::Keycode::Z, LibSDL::Keycode::C, LibSDL::Keycode::KEY_4, LibSDL::Keycode::R, LibSDL::Keycode::F, LibSDL::Keycode::V]
-
WIDTH =
1024
Constructors
Instance Method Summary
Constructor Detail
Instance Method Detail
def
handle_keyboard : Bool
#