class Vm::Keyboard
Defined in:
vm/keyboard.cr
Constant Summary
-
KEYMAP =
{LibSDL::Keycode::KEY_1 => 1, LibSDL::Keycode::KEY_2 => 2, LibSDL::Keycode::KEY_3 => 3, LibSDL::Keycode::KEY_4 => 12, LibSDL::Keycode::Q => 4, LibSDL::Keycode::W => 5, LibSDL::Keycode::E => 6, LibSDL::Keycode::R => 13, LibSDL::Keycode::A => 7, LibSDL::Keycode::S => 8, LibSDL::Keycode::D => 9, LibSDL::Keycode::F => 14, LibSDL::Keycode::Z => 10, LibSDL::Keycode::X => 0, LibSDL::Keycode::C => 11, LibSDL::Keycode::V => 15}
Constructors
Instance Method Summary
Constructor Detail
Instance Method Detail
def
pressed?(n : UInt8)
#