C keyboard handler
started working on scan-code parser