internal static void OnKeyUp(SDL2.SDL.SDL_Keycode key) { if (KeyUp != null) { KeyUp(key); } }
internal static void OnKeyDown(SDL2.SDL.SDL_Keycode key) { if (KeyDown != null) { KeyDown(key); } }
public KeyBind(KeyBind keyBind) { gtkKey = keyBind.gtkKey; sdlKey = keyBind.sdlKey; gameBoyKey = keyBind.gameBoyKey; }
public KeyBind(Gdk.Key gtk, SDL2.SDL.SDL_Keycode sdl, GameBoyKeys gbk) { gtkKey = gtk; sdlKey = sdl; gameBoyKey = gbk; }