Rewriting/refactoring keyboard driver. Writing on a port for scanf()