Hey, folks. I just set up my first saber and had some configuration questions. It’s an OS8.10 one-button setup with Fett263’s prop. I have blade detect set up so that the chassis can tell when it’s removed from the hilt, and it mostly works as intended, except a couple things.
-
It doesn’t boot into the “no blade” preset despite the fact that the chassis has to be removed to access the kill switch. It goes to the first “blade present” preset instead. It does go back to the no blade preset once inserted and then removed from the hilt, but is there a way to get it to boot into the no blade preset?
-
My understanding is that the “no blade detected” preset turns off gesture controls by default on Fett263’s prop, but I’d like to be able to turn it on and my setup has no button connected with the chassis removed. Is there a way to turn gesture controls back on in this mode? Perhaps adding a define to the config or commenting out/changing something in the prop? I think it has to do with this section of the prop, but I’m not much of a programmer.
#ifdef BLADE_DETECT_PIN
case EVENTID(BUTTON_BLADE_DETECT, EVENT_LATCH_ON, MODE_ANY_BUTTON | MODE_ON):
case EVENTID(BUTTON_BLADE_DETECT, EVENT_LATCH_ON, MODE_ANY_BUTTON | MODE_OFF):
// Might need to do something cleaner, but let's try this for now.
blade_detected\_ = true;
#ifdef FETT263_SAVE_GESTURE_OFF
RestoreGestureState();
#else
saved_gesture_control.gestureon = true;
#endif
FindBladeAgain();
SaberBase::DoBladeDetect(true);
return true;
case EVENTID(BUTTON_BLADE_DETECT, EVENT_LATCH_OFF, MODE_ANY_BUTTON | MODE_ON):
case EVENTID(BUTTON_BLADE_DETECT, EVENT_LATCH_OFF, MODE_ANY_BUTTON | MODE_OFF):
// Might need to do something cleaner, but let's try this for now.
blade_detected\_ = false;
#ifdef FETT263_SAVE_GESTURE_OFF
SaveGestureState();
#endif
saved_gesture_control.gestureon = false;
FindBladeAgain();
SaberBase::DoBladeDetect(false);
return true;
#endif