SysMessage("GPU_open returned %d", ret);
}
return;
+ case SACTION_ANALOG_TOGGLE:
+ ret = padToggleAnalog(0);
+ snprintf(hud_msg, sizeof(hud_msg), "ANALOG %s", ret ? "ON" : "OFF");
+ break;
#endif
default:
return;
SACTION_GUN_A,
SACTION_GUN_B,
SACTION_GUN_TRIGGER2,
+ SACTION_ANALOG_TOGGLE,
};
#define SACTION_GUN_MASK (0x0f << SACTION_GUN_TRIGGER)
{ "Volume Up ", 1 << SACTION_VOLUME_UP },
{ "Volume Down ", 1 << SACTION_VOLUME_DOWN },
#endif
+ { "Analog toggle ", 1 << SACTION_ANALOG_TOGGLE },
{ NULL, 0 }
};