Browse Source

Added notes that this code was contributed by Valve

Sam Lantinga 6 years ago
parent
commit
31b0224397
2 changed files with 6 additions and 0 deletions
  1. 3 0
      src/joystick/hidapi/SDL_hidapi_ps4.c
  2. 3 0
      src/joystick/hidapi/SDL_hidapi_switch.c

+ 3 - 0
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

+ 3 - 0
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