src/joystick/darwin/SDL_sysjoystick.c
changeset 10853 f4a771647ecd
parent 10780 4ea5472ed455
child 11201 813a8510bd0c
     1.1 --- a/src/joystick/darwin/SDL_sysjoystick.c	Tue Jan 24 19:38:01 2017 -0800
     1.2 +++ b/src/joystick/darwin/SDL_sysjoystick.c	Wed Jan 25 22:22:05 2017 -0800
     1.3 @@ -248,6 +248,8 @@
     1.4                          switch (usage) {
     1.5                              case kHIDUsage_Sim_Rudder:
     1.6                              case kHIDUsage_Sim_Throttle:
     1.7 +                            case kHIDUsage_Sim_Accelerator:
     1.8 +                            case kHIDUsage_Sim_Brake:
     1.9                                  if (!ElementAlreadyAdded(cookie, pDevice->firstAxis)) {
    1.10                                      element = (recElement *) SDL_calloc(1, sizeof (recElement));
    1.11                                      if (element) {