Пример #1
0
 static bool GetButton(int button, int gamepad)
 {
     return(CustomInput.GetKey((KeyCode)(firstJoyButton + (gamepad * InputBinding.MAX_JOYSTICK_BUTTONS) + button)));
 }