Example #1
0
 private void start_joyDown(object sender, JoyDownArgs e)
 {
     start_inputEvent(InputType.joy, e.Key);
 }
Example #2
0
 public void main_joyDown(object sender, JoyDownArgs e)
 {
     if (highScoreInput == InputType.joy)
         hs_inputEvent(InputType.joy, e.Key);
     else if ((game_paused || game_over) && highScoreInput == InputType.none)
         pause_inputEvent(InputType.joy, e.Key);
     else if (p1_in == InputType.joy)
         adjustSpeed(true, e.Key, true);
     else if (TwoPlayer && p2_in == InputType.joy)
         adjustSpeed(false, e.Key, true);
 }