public GameCubeAdapter(bool doPrefix) { this = new GameCubeAdapter(); if (doPrefix) { port1 = new GameCubeController(INPUT_NAMES.GCN_ADAPTER.PORT_1_PREFIX); port2 = new GameCubeController(INPUT_NAMES.GCN_ADAPTER.PORT_2_PREFIX); port3 = new GameCubeController(INPUT_NAMES.GCN_ADAPTER.PORT_3_PREFIX); port4 = new GameCubeController(INPUT_NAMES.GCN_ADAPTER.PORT_4_PREFIX); } }
public void SetCalibration(GameCubeController from) { if (from.CalibrationEmpty) { // don't apply empty calibrations return; } joystick.Calibrate(from.joystick); cStick.Calibrate(from.cStick); L.Calibrate(from.L); R.Calibrate(from.R); }
public GameCubeController(string prefix) { this = new GameCubeController(); _prefix = prefix; }