src/joystick/SDL_gamecontrollerdb.h
author Sam Lantinga <slouken@libsdl.org>
Fri, 12 Jul 2013 10:44:55 -0700
changeset 7422 172b0c6e51d6
child 7919 cca061ef94a4
child 8478 337b5dc0797b
permissions -rw-r--r--
Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7422
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
     1
/*
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
     2
  Simple DirectMedia Layer
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
     3
  Copyright (C) 1997-2013 Sam Lantinga <slouken@libsdl.org>
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
     4
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
     5
  This software is provided 'as-is', without any express or implied
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
     6
  warranty.  In no event will the authors be held liable for any damages
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
     7
  arising from the use of this software.
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
     8
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
     9
  Permission is granted to anyone to use this software for any purpose,
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    10
  including commercial applications, and to alter it and redistribute it
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    11
  freely, subject to the following restrictions:
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    12
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    13
  1. The origin of this software must not be misrepresented; you must not
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    14
     claim that you wrote the original software. If you use this software
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    15
     in a product, an acknowledgment in the product documentation would be
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    16
     appreciated but is not required.
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    17
  2. Altered source versions must be plainly marked as such, and must not be
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    18
     misrepresented as being the original software.
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    19
  3. This notice may not be removed or altered from any source distribution.
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    20
*/
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    21
#include "SDL_config.h"
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    22
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    23
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    24
/* Default mappings we support
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    25
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    26
   The easiest way to generate a new mapping is to start Steam in Big Picture
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    27
   mode, configure your joystick and then look in config/config.vdf in your
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    28
   Steam installation directory for the "SDL_GamepadBind" entry.
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    29
 */
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    30
static const char *s_ControllerMappings [] =
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    31
{
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    32
#ifdef SDL_JOYSTICK_DINPUT
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    33
    "341a3608000000000000504944564944,Afterglow PS3 Controller,a:b1,b:b2,back:b8,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,guide:b12,leftshoulder:b4,leftstick:b10,lefttrigger:b6,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b11,righttrigger:b7,rightx:a2,righty:a3,start:b9,x:b0,y:b3,",
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    34
    "ffff0000000000000000504944564944,GameStop Gamepad,a:b0,b:b1,back:b8,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,guide:,leftshoulder:b4,leftstick:b10,lefttrigger:b6,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b11,righttrigger:b7,rightx:a2,righty:a3,start:b9,x:b2,y:b3,",
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    35
    "6d0416c2000000000000504944564944,Generic DirectInput Controller,a:b1,b:b2,back:b8,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,leftshoulder:b4,leftstick:b10,lefttrigger:b6,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b11,righttrigger:b7,rightx:a2,righty:a3,start:b9,x:b0,y:b3,",
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    36
	"6d0419c2000000000000504944564944,Logitech F710 Gamepad,a:b1,b:b2,back:b8,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,leftshoulder:b4,leftstick:b10,lefttrigger:b6,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b11,righttrigger:b7,rightx:a2,righty:a3,start:b9,x:b0,y:b3,", /* Guide button doesn't seem to be sent in DInput mode. */
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    37
    "88880803000000000000504944564944,PS3 Controller,a:b2,b:b1,back:b8,dpdown:h0.8,dpleft:h0.4,dpright:h0.2,dpup:h0.1,guide:b12,leftshoulder:b4,leftstick:b9,lefttrigger:b6,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b10,righttrigger:b7,rightx:a3,righty:a4,start:b11,x:b0,y:b3,",
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    38
    "4c056802000000000000504944564944,PS3 Controller,a:b14,b:b13,back:b0,dpdown:b6,dpleft:b7,dpright:b5,dpup:b4,guide:b16,leftshoulder:b10,leftstick:b1,lefttrigger:b8,leftx:a0,lefty:a1,rightshoulder:b11,rightstick:b2,righttrigger:b9,rightx:a2,righty:a3,start:b3,x:b15,y:b12,",
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    39
    "25090500000000000000504944564944,PS3 DualShock,a:b2,b:b1,back:b9,dpdown:h0.8,dpleft:h0.4,dpright:h0.2,dpup:h0.1,guide:,leftshoulder:b6,leftstick:b10,lefttrigger:b4,leftx:a0,lefty:a1,rightshoulder:b7,rightstick:b11,righttrigger:b5,rightx:a2,righty:a3,start:b8,x:b0,y:b3,",
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    40
    "xinput,X360 Controller,a:b10,b:b11,back:b5,dpdown:b1,dpleft:b2,dpright:b3,dpup:b0,guide:b14,leftshoulder:b8,leftstick:b6,lefttrigger:a4,leftx:a0,lefty:a1,rightshoulder:b9,rightstick:b7,righttrigger:a5,rightx:a2,righty:a3,start:b4,x:b12,y:b13,",
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    41
#elif defined(__MACOSX__)
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    42
    "0500000047532047616d657061640000,GameStop Gamepad,a:b0,b:b1,back:b8,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,guide:,leftshoulder:b4,leftstick:b10,lefttrigger:b6,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b11,righttrigger:b7,rightx:a2,righty:a3,start:b9,x:b2,y:b3,",
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    43
    "6d0400000000000016c2000000000000,Logitech F310 Gamepad (DInput),a:b1,b:b2,back:b8,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,leftshoulder:b4,leftstick:b10,lefttrigger:b6,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b11,righttrigger:b7,rightx:a2,righty:a3,start:b9,x:b0,y:b3,", /* Guide button doesn't seem to be sent in DInput mode. */
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    44
    "6d0400000000000018c2000000000000,Logitech F510 Gamepad (DInput),a:b1,b:b2,back:b8,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,leftshoulder:b4,leftstick:b10,lefttrigger:b6,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b11,righttrigger:b7,rightx:a2,righty:a3,start:b9,x:b0,y:b3,",
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    45
    "6d040000000000001fc2000000000000,Logitech F710 Gamepad (XInput),a:b0,b:b1,back:b9,dpdown:b12,dpleft:b13,dpright:b14,dpup:b11,guide:b10,leftshoulder:b4,leftstick:b6,lefttrigger:a2,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b7,righttrigger:a5,rightx:a3,righty:a4,start:b8,x:b2,y:b3,",
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    46
    "6d0400000000000019c2000000000000,Logitech Wireless Gamepad (DInput),a:b1,b:b2,back:b8,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,leftshoulder:b4,leftstick:b10,lefttrigger:b6,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b11,righttrigger:b7,rightx:a2,righty:a3,start:b9,x:b0,y:b3,", /* This includes F710 in DInput mode and the "Logitech Cordless RumblePad 2", at the very least. */
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    47
    "4c050000000000006802000000000000,PS3 Controller,a:b14,b:b13,back:b0,dpdown:b6,dpleft:b7,dpright:b5,dpup:b4,guide:b16,leftshoulder:b10,leftstick:b1,lefttrigger:b8,leftx:a0,lefty:a1,rightshoulder:b11,rightstick:b2,righttrigger:b9,rightx:a2,righty:a3,start:b3,x:b15,y:b12,",
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    48
    "5e040000000000008e02000000000000,X360 Controller,a:b0,b:b1,back:b9,dpdown:b12,dpleft:b13,dpright:b14,dpup:b11,guide:b10,leftshoulder:b4,leftstick:b6,lefttrigger:a2,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b7,righttrigger:a5,rightx:a3,righty:a4,start:b8,x:b2,y:b3,",
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    49
#elif defined(__LINUX__)
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    50
    "0500000047532047616d657061640000,GameStop Gamepad,a:b0,b:b1,back:b8,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,guide:,leftshoulder:b4,leftstick:b10,lefttrigger:b6,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b11,righttrigger:b7,rightx:a2,righty:a3,start:b9,x:b2,y:b3,",
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    51
    "03000000ba2200002010000001010000,Jess Technology USB Game Controller,a:b2,b:b1,back:b8,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,guide:,leftshoulder:b4,lefttrigger:b6,leftx:a0,lefty:a1,rightshoulder:b5,righttrigger:b7,rightx:a3,righty:a2,start:b9,x:b3,y:b0,",
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    52
    "030000006d04000019c2000010010000,Logitech Cordless RumblePad 2,a:b1,b:b2,back:b8,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,guide:,leftshoulder:b4,leftstick:b10,lefttrigger:b6,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b11,righttrigger:b7,rightx:a2,righty:a3,start:b9,x:b0,y:b3,",
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    53
    "030000006d0400001dc2000014400000,Logitech F310 Gamepad (XInput),a:b0,b:b1,back:b6,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,guide:b8,leftshoulder:b4,leftstick:b9,lefttrigger:a2,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b10,righttrigger:a5,rightx:a3,righty:a4,start:b7,x:b2,y:b3,",
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    54
    "030000006d0400001ec2000020200000,Logitech F510 Gamepad (XInput),a:b0,b:b1,back:b6,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,guide:b8,leftshoulder:b4,leftstick:b9,lefttrigger:a2,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b10,righttrigger:a5,rightx:a3,righty:a4,start:b7,x:b2,y:b3,",
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    55
    "030000006d04000019c2000011010000,Logitech F710 Gamepad (DInput),a:b1,b:b2,back:b8,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,leftshoulder:b4,leftstick:b10,lefttrigger:b6,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b11,righttrigger:b7,rightx:a2,righty:a3,start:b9,x:b0,y:b3,", /* Guide button doesn't seem to be sent in DInput mode. */
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    56
    "030000006d0400001fc2000005030000,Logitech F710 Gamepad (XInput),a:b0,b:b1,back:b6,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,guide:b8,leftshoulder:b4,leftstick:b9,lefttrigger:a2,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b10,righttrigger:a5,rightx:a3,righty:a4,start:b7,x:b2,y:b3,",
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    57
    "030000004c0500006802000011010000,PS3 Controller,a:b14,b:b13,back:b0,dpdown:b6,dpleft:b7,dpright:b5,dpup:b4,guide:b16,leftshoulder:b10,leftstick:b1,lefttrigger:b8,leftx:a0,lefty:a1,rightshoulder:b11,rightstick:b2,righttrigger:b9,rightx:a2,righty:a3,start:b3,x:b15,y:b12,",
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    58
    "030000005e0400008e02000014010000,X360 Controller,a:b0,b:b1,back:b6,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,guide:b8,leftshoulder:b4,leftstick:b9,lefttrigger:a2,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b10,righttrigger:a5,rightx:a3,righty:a4,start:b7,x:b2,y:b3,",
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    59
    "030000005e0400008e02000010010000,X360 Controller,a:b0,b:b1,back:b6,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,guide:b8,leftshoulder:b4,leftstick:b9,lefttrigger:a2,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b10,righttrigger:a5,rightx:a3,righty:a4,start:b7,x:b2,y:b3,",
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    60
    "030000005e0400001907000000010000,X360 Wireless Controller,a:b0,b:b1,back:b6,dpdown:b14,dpleft:b11,dpright:b12,dpup:b13,guide:b8,leftshoulder:b4,leftstick:b9,lefttrigger:a2,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b10,righttrigger:a5,rightx:a3,righty:a4,start:b7,x:b2,y:b3,",
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    61
#endif
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    62
    NULL
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    63
};
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    64
172b0c6e51d6 Moved the game controller database to a separate file and added a script to sort the entries so we can easily check for duplicates
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    65
/* vi: set ts=4 sw=4 expandtab: */