summaryrefslogtreecommitdiff
path: root/include/SDL_stdinc.h
diff options
context:
space:
mode:
authorSam Lantinga <slouken@libsdl.org>2018-08-09 16:00:17 -0700
committerSam Lantinga <slouken@libsdl.org>2018-08-09 16:00:17 -0700
commit6fc6bfca0277f18d61a4ef071151ed41401c70f6 (patch)
tree0cf1a7fce1d1e005bb903e6858e013f13bebeb88 /include/SDL_stdinc.h
parent6c65dfa2ec6649b125881ce422506fcb38af8c5b (diff)
downloadsdl-6fc6bfca0277f18d61a4ef071151ed41401c70f6.tar.gz
Added HIDAPI joystick drivers for more consistent support for Xbox, PS4 and Nintendo Switch Pro controller support across platforms.
Added SDL_GameControllerRumble() and SDL_JoystickRumble() for simple force feedback outside of the SDL haptics API
Diffstat (limited to 'include/SDL_stdinc.h')
-rw-r--r--include/SDL_stdinc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/SDL_stdinc.h b/include/SDL_stdinc.h
index b2ca7ae97..e373bc380 100644
--- a/include/SDL_stdinc.h
+++ b/include/SDL_stdinc.h
@@ -450,6 +450,7 @@ extern DECLSPEC void *SDLCALL SDL_memcpy(SDL_OUT_BYTECAP(len) void *dst, SDL_IN_
extern DECLSPEC void *SDLCALL SDL_memmove(SDL_OUT_BYTECAP(len) void *dst, SDL_IN_BYTECAP(len) const void *src, size_t len);
extern DECLSPEC int SDLCALL SDL_memcmp(const void *s1, const void *s2, size_t len);
+extern DECLSPEC wchar_t *SDLCALL SDL_wcsdup(const wchar_t *wstr);
extern DECLSPEC size_t SDLCALL SDL_wcslen(const wchar_t *wstr);
extern DECLSPEC size_t SDLCALL SDL_wcslcpy(SDL_OUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen);
extern DECLSPEC size_t SDLCALL SDL_wcslcat(SDL_INOUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen);