Raw input implementation for KeyboardDevice