diff --git a/src/cocoa_joystick.m b/src/cocoa_joystick.m index 23cc7a8e..e7997028 100644 --- a/src/cocoa_joystick.m +++ b/src/cocoa_joystick.m @@ -231,6 +231,19 @@ static void matchCallback(void* context, break; } } + else if (page == kHIDPage_Simulation) + { + switch (usage) + { + case kHIDUsage_Sim_Accelerator: + case kHIDUsage_Sim_Brake: + case kHIDUsage_Sim_Throttle: + case kHIDUsage_Sim_Rudder: + case kHIDUsage_Sim_Steering: + target = axes; + break; + } + } else if (page == kHIDPage_Button || page == kHIDPage_Consumer) target = buttons;