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

def self.new(console : Chip8::Console) #

[View source]

Instance Method Detail

def draw #

[View source]
def handle_keyboard : Bool #

[View source]
def make_sound #

[View source]