Simplified key event

keycodes will now be constants mapping to scan codes