From 31b0224397773296ed708cf326df5d4e4b5e6d15 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 9 Aug 2018 16:04:45 -0700 Subject: [PATCH] Added notes that this code was contributed by Valve --- src/joystick/hidapi/SDL_hidapi_ps4.c | 3 +++ src/joystick/hidapi/SDL_hidapi_switch.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/joystick/hidapi/SDL_hidapi_ps4.c b/src/joystick/hidapi/SDL_hidapi_ps4.c index a37fcf3b6ac30..b02b6b6897b66 100644 --- a/src/joystick/hidapi/SDL_hidapi_ps4.c +++ b/src/joystick/hidapi/SDL_hidapi_ps4.c @@ -18,6 +18,9 @@ misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. */ +/* This driver supports both simplified reports and the extended input reports enabled by Steam. + Code and logic contributed by Valve Corporation under the SDL zlib license. +*/ #include "../../SDL_internal.h" #ifdef SDL_JOYSTICK_HIDAPI diff --git a/src/joystick/hidapi/SDL_hidapi_switch.c b/src/joystick/hidapi/SDL_hidapi_switch.c index 4726949dfe8fa..5f8e0f8fadfb6 100644 --- a/src/joystick/hidapi/SDL_hidapi_switch.c +++ b/src/joystick/hidapi/SDL_hidapi_switch.c @@ -18,6 +18,9 @@ misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. */ +/* This driver supports the Nintendo Switch Pro controller. + Code and logic contributed by Valve Corporation under the SDL zlib license. +*/ #include "../../SDL_internal.h" #ifdef SDL_JOYSTICK_HIDAPI