Skip to content
Prev Previous commit
Next Next commit
fix joystick input enum
  • Loading branch information
Brandon committed Apr 24, 2026
commit 7c0f3b8271f0d042191a1926a5cf7ded46c43942
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import org.micromanager.lightsheetmanager.gui.components.ComboBox;
import org.micromanager.lightsheetmanager.gui.components.Panel;
import org.micromanager.lightsheetmanager.LightSheetManager;
import org.micromanager.lightsheetmanager.model.devices.DeviceBase;
import org.micromanager.lightsheetmanager.model.devices.vendor.ASIScanner;
import org.micromanager.lightsheetmanager.model.devices.vendor.ASIXYStage;
import org.micromanager.lightsheetmanager.model.devices.vendor.Joystick;
Expand Down Expand Up @@ -67,9 +66,9 @@ private void createUserInterface() {
final String[] joystickLabels = {"None", "Scanner", "XYStage"};
final String[] wheelLabels = {"None", "Imaging Piezo", "Imaging Slice", "Light Sheet Tilt", "Sample Height"};

cmbJoystick_ = new ComboBox<>(joystickLabels, "XYStage", 100, 24);
cmbLeftWheel_ = new ComboBox<>(wheelLabels, "Imaging Piezo", 100, 24);
cmbRightWheel_ = new ComboBox<>(wheelLabels, "Imaging Slice", 100, 24);
cmbJoystick_ = new ComboBox<>(joystickLabels, "None", 100, 24);
cmbLeftWheel_ = new ComboBox<>(wheelLabels, "None", 100, 24);
cmbRightWheel_ = new ComboBox<>(wheelLabels, "None", 100, 24);

add(lblJoystick, "");
add(cmbJoystick_, "wrap");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public static class Values {
}

public enum Input {
NONE("0 - None"),
NONE("0 - none"),
JOYSTICK_X("2 - joystick X"),
JOYSTICK_Y("3 - joystick Y"),
RIGHT_WHEEL("22 - right wheel"),
Expand Down