#include "keyEvent.h" KeyEvent::KeyEvent(int k, int s, int m, int r, bool p) : key(k), scancode(s), mod(m), repeat(r), pressed(p) { } KeyTypedEvent::KeyTypedEvent(int w, char* t) : windowID(w), text(t) { }