(Apple) Rename keys variable to key_state
Make apple_input_get_icade_buttons into static function