Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // 1 button Force and Color Change mode
- #if NUM_BUTTONS == 1
- case EVENTID(BUTTON_POWER, EVENT_SECOND_SAVED_CLICK_SHORT, MODE_ON):
- //case EVENTID(BUTTON_NONE, EVENT_TWIST, MODE_ON | BUTTON_POWER):
- #ifndef DISABLE_COLOR_CHANGE
- if (accel_.x < -0.15) {
- ToggleColorChangeMode();
- } else {
- SaberBase::DoForce();
- }
- #else
- SaberBase::DoForce();
- #endif
- return true;
Advertisement
Add Comment
Please, Sign In to add comment