public static bool ThumbLeftPressed(PlayerIndex player, ThumbSticks stick)
{
bool pressed = false;
switch (stick)
{
case ThumbSticks.Left:
if (m_lastPadState[(int)player].ThumbSticks.Left.X > -0.5f && m_padState[(int)player].ThumbSticks.Left.X <= -0.5f)
{
pressed = true;
}
break;
case ThumbSticks.Right:
if (m_lastPadState[(int)player].ThumbSticks.Right.X > -0.5f && m_padState[(int)player].ThumbSticks.Right.X <= -0.5f)
{
pressed = true;
}
break;
}
return pressed;
}