From 9b7b0a28b9d2fdf3f92bbae389d261863666b693 Mon Sep 17 00:00:00 2001 From: Fabio Alessandrelli Date: Fri, 11 Jun 2021 17:15:03 +0200 Subject: [HTML5] Fix some JS library signature. --- platform/javascript/godot_js.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'platform/javascript/godot_js.h') diff --git a/platform/javascript/godot_js.h b/platform/javascript/godot_js.h index 8927a83cb3..d332af2c31 100644 --- a/platform/javascript/godot_js.h +++ b/platform/javascript/godot_js.h @@ -84,7 +84,7 @@ extern void godot_js_display_cursor_set_custom_shape(const char *p_shape, const extern void godot_js_display_cursor_set_visible(int p_visible); // Display gamepad -extern char *godot_js_display_gamepad_cb(void (*p_on_change)(int p_index, int p_connected, const char *p_id, const char *p_guid)); +extern void godot_js_display_gamepad_cb(void (*p_on_change)(int p_index, int p_connected, const char *p_id, const char *p_guid)); extern int godot_js_display_gamepad_sample(); extern int godot_js_display_gamepad_sample_count(); extern int godot_js_display_gamepad_sample_get(int p_idx, float r_btns[16], int32_t *r_btns_num, float r_axes[10], int32_t *r_axes_num, int32_t *r_standard); -- cgit v1.2.3