diff --git a/input/drivers/cocoa_input.h b/input/drivers/cocoa_input.h index e6d0e8cce7..e64f9b0fa7 100644 --- a/input/drivers/cocoa_input.h +++ b/input/drivers/cocoa_input.h @@ -68,9 +68,17 @@ void cocoa_input_enable_small_keyboard(bool on); void cocoa_input_reset_icade_buttons(void); +#ifdef __cplusplus +extern "C" { +#endif + void cocoa_input_keyboard_event(bool down, unsigned code, uint32_t character, uint32_t mod, unsigned device); +#ifdef __cplusplus +} +#endif + extern int32_t cocoa_input_find_any_key(void); extern int32_t cocoa_input_find_any_button(uint32_t port);