Capacitive keyboard input handling