(apple_input.c) Refactor away apple_key_pressed