#ifdef CONFIG_TOP #include "proffieboard_v2_config.h" #define NUM_BLADES 2 #define NUM_BUTTONS 2 #define VOLUME 1750 const unsigned int maxLedsPerStrip = 144; #define CLASH_THRESHOLD_G 4.0 #define ENABLE_AUDIO #define ENABLE_MOTION #define ENABLE_WS2811 #define ENABLE_SD #define OLED_FLIP_180 #define COLOR_CHANGE_DIRECT #define IDLE_OFF_TIME 60*2*1000 #define MOTION_TIMEOUT 60*10*1000 #define SHARED_POWER_PINS #define DISABLE_DIAGNOSTIC_COMMANDS #define BLADE_DETECT_PIN 17 #define SAVE_PRESET #define S3_TWIST_ON #define S3_TWIST_OFF #endif #ifdef CONFIG_PROP #include"../props/s3button_config.h" #endif #ifdef CONFIG_PRESETS Preset no_blade[] = { { "0-NO_BLADE","", StylePtr(), StylePtr>(), }, }; Preset blade[] = { { "1-SABERTRIO", "tracks/track_1.wav", /* copyright Fett263 Simple (Primary Blade) OS6 Style https://fett263.com/fett263-proffieOS6-style-library.html#Simple OS6.6 v3.01 Single Style Base Style: RandomFlicker (Single Color (50%)), DodgerBlue, Animated(Moccasin) --Effects Included-- Ignition Effect: SparkTip Ignition Retraction Effect: Standard Retraction Lockup Effect: Responsive Lockup (Absorb) LightningBlock Effect: Responsive Lightning Block Drag Effect: Intensity Sparking Drag Melt Effect: Intensity Melt Stab Effect: AudioFlicker Stab Blast Effect (Randomly Selected): Responsive Blast Fade (Random), Responsive Blast Fade (Large) Clash Effect: Flash on Clash (Full Blade) Battery Level: % Blade (Green to Red) */ StylePtr>,Mix,Black,RgbArg>>>,TransitionEffectL,TrWipeIn<200>>,AlphaL>>, SmoothStep,Int<2000>>>,TrWipe<200>>,EFFECT_STAB>,MultiTransitionEffectL,Int<28000>,Int<8000>>,Scale,Int<9000>,Int<13000>>>, RgbArg>,Mix,Black,RgbArg>>>,TrFade<300>>,TrConcat,Int<28000>,Int<8000>>,Int<14000>>,RgbArg>, Mix,Black,RgbArg>>>,TrFade<300>>>,EFFECT_BLAST>,TransitionEffectL,RgbArg>,TrFade<300>>,EFFECT_CLASH>,LockupTrL, Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Scale,Int<14000>,Int<18000>>>>,AudioFlickerL>>, BrownNoiseFlickerL>,Int<200>>>,TrConcat>,TrFade<400>>,TrConcat>,TrFade<400>>,SaberBase::LOCKUP_NORMAL>, ResponsiveLightningBlockL>,AudioFlicker>,Blue>,50,1>,TrConcat>,Bump,Int<18000>>>,TrFade<200>>, TrConcat>,Int<16000>>,30>,TrSmoothFade<600>>>,LockupTrL>>,SmoothStep,Int<3000>>>, TrConcat>,AlphaL>,Int<300>>,SmoothStep,Int<3000>>>,TrFade<4000>>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL,Int<0>>,StaticFire,RgbArg>,RotateColorsX,RgbArg>>>,Mix,RotateColorsX,RgbArg>>, RotateColorsX,Mix,Black,RgbArg>>>>,0,3,5,3000,10>>,SmoothStep,Int<4000>>>,TrConcat,AlphaL>, SmoothStep,Int<4000>>>,TrExtend<4000,TrFade<300>>,AlphaL,RgbArg>,RotateColorsX,RgbArg>>>,SmoothStep,Int<4000>>>, TrFade<4000>>,TrWipe<200>,SaberBase::LOCKUP_MELT>,InOutTrL>,IgnitionTime<300>>,TrWipeInX>,Black>,TransitionEffectL>, AlphaL,SmoothStep>>,TrWipeIn<1000>>,EFFECT_BATTERY_LEVEL>>>(), StylePtr(), "Sabertrio"}, { "2-KYBER_BLUE", "tracks/track_1.wav", /* copyright Fett263 Simple (Primary Blade) OS6 Style https://fett263.com/fett263-proffieOS6-style-library.html#Simple OS6.7 v4.012 Single Style Base Style: AudioFlicker (Single Color (50%)) Base Color: Rgb<2,72,255> (0) --Effects Included-- Ignition Effect: Standard Ignition Retraction Effect: Standard Retraction Lockup Effect: Intensity Lockup V1, Begin Effect: Real Clash, End Effect: Full Blade Absorb LightningBlock Effect: Responsive Lightning Block Drag Effect: Intensity Sparking Drag Melt Effect: Intensity Melt Blast Effect: Blast Wave (Random) Clash Effect: Real Clash V1 */ StylePtr>,Mix,Black,RgbArg>>>,MultiTransitionEffectL>,Scale,Int<100>,Int<400>>,Int<100>,Scale,Int<100>,Int<400>>,Scale,Int<28000>,Int<8000>>>,EFFECT_BLAST>,Mix,Int<26000>>,TransitionEffectL>,Bump,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Scale,Int<12000>,Int<60000>>>>,TrFadeX,Int<200>,Int<400>>>>,EFFECT_CLASH>,TransitionEffectL>,Scale,Int<100>,Int<400>>,Int<100>,Scale,Int<100>,Int<400>>,Scale,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>>,EFFECT_CLASH>>,LockupTrL,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Scale,Int<14000>,Int<18000>>>,BrownNoiseFlickerL>,Int<200>>,StripesX,Scale,Int<-5000>>,Mix,Black,RgbArg>>,RgbArg>,Mix,Black,RgbArg>>>>,AlphaL>,Mix,Black,RgbArg>>>,Bump,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Int<13000>>>,TrJoin,TrInstant>,TrFade<3000>,EFFECT_LOCKUP_BEGIN>,TrConcat,TrInstant>,Mix,Int<26000>>,RgbArg>,AlphaL>,Bump,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Scale,Int<20000>,Int<60000>>>>>,TrFade<300>>,TrConcat>,TrFade<400>>,SaberBase::LOCKUP_NORMAL>,ResponsiveLightningBlockL>,AudioFlicker>,Blue>,50,1>,TrConcat>,Bump,Int<18000>>>,TrFade<200>>,TrConcat>,Int<16000>>,30>,TrSmoothFade<600>>>,LockupTrL>>,SmoothStep,Int<3000>>>,TrConcat,TrWipeIn<200>>,AlphaL>,Int<300>>,SmoothStep,Int<3000>>>,TrFade<4000>>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL,Int<0>>,StaticFire,RgbArg>,RotateColorsX,RgbArg>>>,Mix,RotateColorsX,RgbArg>>,RotateColorsX,Mix,Black,RgbArg>>>>,0,3,5,3000,10>>,SmoothStep,Int<4000>>>,TrConcat,AlphaL>,SmoothStep,Int<4000>>>,TrJoin,TrFade<300>>,AlphaL,RgbArg>,RotateColorsX,RgbArg>>>,SmoothStep,Int<4000>>>,TrFade<4000>>,TrWipe<200>,SaberBase::LOCKUP_MELT>,InOutTrL>,TrWipeInX>,Black>>>(), StylePtr(), "Kyber Blue"}, { "3-KYBER_GREEN", "tracks/track_1.wav", /* copyright Fett263 Simple (Primary Blade) OS6 Style https://fett263.com/fett263-proffieOS6-style-library.html#Simple OS6.7 v4.012 Single Style Base Style: AudioFlicker (Single Color (50%)) Base Color: Rgb<0,255,0> (0) --Effects Included-- Ignition Effect: Standard Ignition Retraction Effect: Standard Retraction Lockup Effect: Intensity Lockup V1, Begin Effect: Real Clash, End Effect: Full Blade Absorb LightningBlock Effect: Responsive Lightning Block Drag Effect: Intensity Sparking Drag Melt Effect: Intensity Melt Blast Effect: Blast Wave (Random) Clash Effect: Real Clash V1 */ StylePtr>,Mix,Black,RgbArg>>>,MultiTransitionEffectL>,Scale,Int<100>,Int<400>>,Int<100>,Scale,Int<100>,Int<400>>,Scale,Int<28000>,Int<8000>>>,EFFECT_BLAST>,Mix,Int<26000>>,TransitionEffectL>,Bump,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Scale,Int<12000>,Int<60000>>>>,TrFadeX,Int<200>,Int<400>>>>,EFFECT_CLASH>,TransitionEffectL>,Scale,Int<100>,Int<400>>,Int<100>,Scale,Int<100>,Int<400>>,Scale,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>>,EFFECT_CLASH>>,LockupTrL,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Scale,Int<14000>,Int<18000>>>,BrownNoiseFlickerL>,Int<200>>,StripesX,Scale,Int<-5000>>,Mix,Black,RgbArg>>,RgbArg>,Mix,Black,RgbArg>>>>,AlphaL>,Mix,Black,RgbArg>>>,Bump,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Int<13000>>>,TrJoin,TrInstant>,TrFade<3000>,EFFECT_LOCKUP_BEGIN>,TrConcat,TrInstant>,Mix,Int<26000>>,RgbArg>,AlphaL>,Bump,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Scale,Int<20000>,Int<60000>>>>>,TrFade<300>>,TrConcat>,TrFade<400>>,SaberBase::LOCKUP_NORMAL>,ResponsiveLightningBlockL>,AudioFlicker>,Blue>,50,1>,TrConcat>,Bump,Int<18000>>>,TrFade<200>>,TrConcat>,Int<16000>>,30>,TrSmoothFade<600>>>,LockupTrL>>,SmoothStep,Int<3000>>>,TrConcat,TrWipeIn<200>>,AlphaL>,Int<300>>,SmoothStep,Int<3000>>>,TrFade<4000>>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL,Int<0>>,StaticFire,RgbArg>,RotateColorsX,RgbArg>>>,Mix,RotateColorsX,RgbArg>>,RotateColorsX,Mix,Black,RgbArg>>>>,0,3,5,3000,10>>,SmoothStep,Int<4000>>>,TrConcat,AlphaL>,SmoothStep,Int<4000>>>,TrJoin,TrFade<300>>,AlphaL,RgbArg>,RotateColorsX,RgbArg>>>,SmoothStep,Int<4000>>>,TrFade<4000>>,TrWipe<200>,SaberBase::LOCKUP_MELT>,InOutTrL>,TrWipeInX>,Black>>>(), StylePtr(), "Kyber Green"}, { "4-KYBER_PURPLE", "tracks/track_1.wav", /* copyright Fett263 Simple (Primary Blade) OS6 Style https://fett263.com/fett263-proffieOS6-style-library.html#Simple OS6.7 v4.012 Single Style Base Style: AudioFlicker (Single Color (50%)) Base Color: Rgb<115,15,240> (0) --Effects Included-- Ignition Effect: Standard Ignition Retraction Effect: Standard Retraction Lockup Effect: Intensity Lockup V1, Begin Effect: Real Clash, End Effect: Full Blade Absorb LightningBlock Effect: Responsive Lightning Block Drag Effect: Intensity Sparking Drag Melt Effect: Intensity Melt Blast Effect: Blast Wave (Random) Clash Effect: Real Clash V1 */ StylePtr>,Mix,Black,RgbArg>>>,MultiTransitionEffectL>,Scale,Int<100>,Int<400>>,Int<100>,Scale,Int<100>,Int<400>>,Scale,Int<28000>,Int<8000>>>,EFFECT_BLAST>,Mix,Int<26000>>,TransitionEffectL>,Bump,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Scale,Int<12000>,Int<60000>>>>,TrFadeX,Int<200>,Int<400>>>>,EFFECT_CLASH>,TransitionEffectL>,Scale,Int<100>,Int<400>>,Int<100>,Scale,Int<100>,Int<400>>,Scale,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>>,EFFECT_CLASH>>,LockupTrL,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Scale,Int<14000>,Int<18000>>>,BrownNoiseFlickerL>,Int<200>>,StripesX,Scale,Int<-5000>>,Mix,Black,RgbArg>>,RgbArg>,Mix,Black,RgbArg>>>>,AlphaL>,Mix,Black,RgbArg>>>,Bump,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Int<13000>>>,TrJoin,TrInstant>,TrFade<3000>,EFFECT_LOCKUP_BEGIN>,TrConcat,TrInstant>,Mix,Int<26000>>,RgbArg>,AlphaL>,Bump,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Scale,Int<20000>,Int<60000>>>>>,TrFade<300>>,TrConcat>,TrFade<400>>,SaberBase::LOCKUP_NORMAL>,ResponsiveLightningBlockL>,AudioFlicker>,Blue>,50,1>,TrConcat>,Bump,Int<18000>>>,TrFade<200>>,TrConcat>,Int<16000>>,30>,TrSmoothFade<600>>>,LockupTrL>>,SmoothStep,Int<3000>>>,TrConcat,TrWipeIn<200>>,AlphaL>,Int<300>>,SmoothStep,Int<3000>>>,TrFade<4000>>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL,Int<0>>,StaticFire,RgbArg>,RotateColorsX,RgbArg>>>,Mix,RotateColorsX,RgbArg>>,RotateColorsX,Mix,Black,RgbArg>>>>,0,3,5,3000,10>>,SmoothStep,Int<4000>>>,TrConcat,AlphaL>,SmoothStep,Int<4000>>>,TrJoin,TrFade<300>>,AlphaL,RgbArg>,RotateColorsX,RgbArg>>>,SmoothStep,Int<4000>>>,TrFade<4000>>,TrWipe<200>,SaberBase::LOCKUP_MELT>,InOutTrL>,TrWipeInX>,Black>>>(), StylePtr(), "Kyber Purple"}, { "5-KYBER_RED", "tracks/track_1.wav", /* copyright Fett263 Simple (Primary Blade) OS6 Style https://fett263.com/fett263-proffieOS6-style-library.html#Simple OS6.7 v4.012 Single Style Base Style: AudioFlicker (Single Color (50%)) Base Color: Rgb<255,0,0> (0) --Effects Included-- Ignition Effect: Standard Ignition Retraction Effect: Standard Retraction Lockup Effect: Intensity Lockup V1, Begin Effect: Real Clash, End Effect: Full Blade Absorb LightningBlock Effect: Responsive Lightning Block Drag Effect: Intensity Sparking Drag Melt Effect: Intensity Melt Blast Effect: Blast Wave (Random) Clash Effect: Real Clash V1 */ StylePtr>,Mix,Black,RgbArg>>>,MultiTransitionEffectL>,Scale,Int<100>,Int<400>>,Int<100>,Scale,Int<100>,Int<400>>,Scale,Int<28000>,Int<8000>>>,EFFECT_BLAST>,Mix,Int<26000>>,TransitionEffectL>,Bump,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Scale,Int<12000>,Int<60000>>>>,TrFadeX,Int<200>,Int<400>>>>,EFFECT_CLASH>,TransitionEffectL>,Scale,Int<100>,Int<400>>,Int<100>,Scale,Int<100>,Int<400>>,Scale,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>>,EFFECT_CLASH>>,LockupTrL,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Scale,Int<14000>,Int<18000>>>,BrownNoiseFlickerL>,Int<200>>,StripesX,Scale,Int<-5000>>,Mix,Black,RgbArg>>,RgbArg>,Mix,Black,RgbArg>>>>,AlphaL>,Mix,Black,RgbArg>>>,Bump,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Int<13000>>>,TrJoin,TrInstant>,TrFade<3000>,EFFECT_LOCKUP_BEGIN>,TrConcat,TrInstant>,Mix,Int<26000>>,RgbArg>,AlphaL>,Bump,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Scale,Int<20000>,Int<60000>>>>>,TrFade<300>>,TrConcat>,TrFade<400>>,SaberBase::LOCKUP_NORMAL>,ResponsiveLightningBlockL>,AudioFlicker>,Blue>,50,1>,TrConcat>,Bump,Int<18000>>>,TrFade<200>>,TrConcat>,Int<16000>>,30>,TrSmoothFade<600>>>,LockupTrL>>,SmoothStep,Int<3000>>>,TrConcat,TrWipeIn<200>>,AlphaL>,Int<300>>,SmoothStep,Int<3000>>>,TrFade<4000>>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL,Int<0>>,StaticFire,RgbArg>,RotateColorsX,RgbArg>>>,Mix,RotateColorsX,RgbArg>>,RotateColorsX,Mix,Black,RgbArg>>>>,0,3,5,3000,10>>,SmoothStep,Int<4000>>>,TrConcat,AlphaL>,SmoothStep,Int<4000>>>,TrJoin,TrFade<300>>,AlphaL,RgbArg>,RotateColorsX,RgbArg>>>,SmoothStep,Int<4000>>>,TrFade<4000>>,TrWipe<200>,SaberBase::LOCKUP_MELT>,InOutTrL>,TrWipeInX>,Black>>>(), StylePtr(), "Kyber Red"}, { "6-KYBER_YELLOW", "tracks/track_1.wav", /* copyright Fett263 Simple (Primary Blade) OS6 Style https://fett263.com/fett263-proffieOS6-style-library.html#Simple OS6.7 v4.012 Single Style Base Style: AudioFlicker (Single Color (50%)) Base Color: Rgb<255,255,0> (0) --Effects Included-- Ignition Effect: Standard Ignition Retraction Effect: Standard Retraction Lockup Effect: Intensity Lockup V1, Begin Effect: Real Clash, End Effect: Full Blade Absorb LightningBlock Effect: Responsive Lightning Block Drag Effect: Intensity Sparking Drag Melt Effect: Intensity Melt Blast Effect: Blast Wave (Random) Clash Effect: Real Clash V1 */ StylePtr>,Mix,Black,RgbArg>>>,MultiTransitionEffectL>,Scale,Int<100>,Int<400>>,Int<100>,Scale,Int<100>,Int<400>>,Scale,Int<28000>,Int<8000>>>,EFFECT_BLAST>,Mix,Int<26000>>,TransitionEffectL>,Bump,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Scale,Int<12000>,Int<60000>>>>,TrFadeX,Int<200>,Int<400>>>>,EFFECT_CLASH>,TransitionEffectL>,Scale,Int<100>,Int<400>>,Int<100>,Scale,Int<100>,Int<400>>,Scale,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>>,EFFECT_CLASH>>,LockupTrL,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Scale,Int<14000>,Int<18000>>>,BrownNoiseFlickerL>,Int<200>>,StripesX,Scale,Int<-5000>>,Mix,Black,RgbArg>>,RgbArg>,Mix,Black,RgbArg>>>>,AlphaL>,Mix,Black,RgbArg>>>,Bump,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Int<13000>>>,TrJoin,TrInstant>,TrFade<3000>,EFFECT_LOCKUP_BEGIN>,TrConcat,TrInstant>,Mix,Int<26000>>,RgbArg>,AlphaL>,Bump,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Scale,Int<20000>,Int<60000>>>>>,TrFade<300>>,TrConcat>,TrFade<400>>,SaberBase::LOCKUP_NORMAL>,ResponsiveLightningBlockL>,AudioFlicker>,Blue>,50,1>,TrConcat>,Bump,Int<18000>>>,TrFade<200>>,TrConcat>,Int<16000>>,30>,TrSmoothFade<600>>>,LockupTrL>>,SmoothStep,Int<3000>>>,TrConcat,TrWipeIn<200>>,AlphaL>,Int<300>>,SmoothStep,Int<3000>>>,TrFade<4000>>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL,Int<0>>,StaticFire,RgbArg>,RotateColorsX,RgbArg>>>,Mix,RotateColorsX,RgbArg>>,RotateColorsX,Mix,Black,RgbArg>>>>,0,3,5,3000,10>>,SmoothStep,Int<4000>>>,TrConcat,AlphaL>,SmoothStep,Int<4000>>>,TrJoin,TrFade<300>>,AlphaL,RgbArg>,RotateColorsX,RgbArg>>>,SmoothStep,Int<4000>>>,TrFade<4000>>,TrWipe<200>,SaberBase::LOCKUP_MELT>,InOutTrL>,TrWipeInX>,Black>>>(), StylePtr(), "Kyber Yellow"}, { "7-KYBER_WHITE", "tracks/track_1.wav", /* copyright Fett263 Simple (Primary Blade) OS6 Style https://fett263.com/fett263-proffieOS6-style-library.html#Simple OS6.7 v4.012 Single Style Base Style: AudioFlicker (Single Color (50%)) Base Color: Rgb<100,100,150> (0) --Effects Included-- Ignition Effect: Standard Ignition Retraction Effect: Standard Retraction Lockup Effect: Intensity Lockup V1, Begin Effect: Real Clash, End Effect: Full Blade Absorb LightningBlock Effect: Responsive Lightning Block Drag Effect: Intensity Sparking Drag Melt Effect: Intensity Melt Blast Effect: Blast Wave (Random) Clash Effect: Real Clash V1 */ StylePtr>,Mix,Black,RgbArg>>>,MultiTransitionEffectL>,Scale,Int<100>,Int<400>>,Int<100>,Scale,Int<100>,Int<400>>,Scale,Int<28000>,Int<8000>>>,EFFECT_BLAST>,Mix,Int<26000>>,TransitionEffectL>,Bump,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Scale,Int<12000>,Int<60000>>>>,TrFadeX,Int<200>,Int<400>>>>,EFFECT_CLASH>,TransitionEffectL>,Scale,Int<100>,Int<400>>,Int<100>,Scale,Int<100>,Int<400>>,Scale,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>>,EFFECT_CLASH>>,LockupTrL,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Scale,Int<14000>,Int<18000>>>,BrownNoiseFlickerL>,Int<200>>,StripesX,Scale,Int<-5000>>,Mix,Black,RgbArg>>,RgbArg>,Mix,Black,RgbArg>>>>,AlphaL>,Mix,Black,RgbArg>>>,Bump,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Int<13000>>>,TrJoin,TrInstant>,TrFade<3000>,EFFECT_LOCKUP_BEGIN>,TrConcat,TrInstant>,Mix,Int<26000>>,RgbArg>,AlphaL>,Bump,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Scale,Int<20000>,Int<60000>>>>>,TrFade<300>>,TrConcat>,TrFade<400>>,SaberBase::LOCKUP_NORMAL>,ResponsiveLightningBlockL>,AudioFlicker>,Blue>,50,1>,TrConcat>,Bump,Int<18000>>>,TrFade<200>>,TrConcat>,Int<16000>>,30>,TrSmoothFade<600>>>,LockupTrL>>,SmoothStep,Int<3000>>>,TrConcat,TrWipeIn<200>>,AlphaL>,Int<300>>,SmoothStep,Int<3000>>>,TrFade<4000>>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL,Int<0>>,StaticFire,RgbArg>,RotateColorsX,RgbArg>>>,Mix,RotateColorsX,RgbArg>>,RotateColorsX,Mix,Black,RgbArg>>>>,0,3,5,3000,10>>,SmoothStep,Int<4000>>>,TrConcat,AlphaL>,SmoothStep,Int<4000>>>,TrJoin,TrFade<300>>,AlphaL,RgbArg>,RotateColorsX,RgbArg>>>,SmoothStep,Int<4000>>>,TrFade<4000>>,TrWipe<200>,SaberBase::LOCKUP_MELT>,InOutTrL>,TrWipeInX>,Black>>>(), StylePtr(), "Kyber White"}, { "8-UNLIGHTSTABLE", "", /* copyright Fett263 UnstableBlades (Primary Blade) OS6 Style https://fett263.com/fett263-proffieOS6-style-library.html#UnstableBlades OS6.7 v4.012 Single Style Base Style: Unstable Rage Base Color: Rgb<0,255,255> (0) --Effects Included-- Ignition Effect: SparkTip Ignition PowerUp Effect: Power Flash Retraction Effect: Standard Retraction Lockup Effect: Intensity Lockup V1, Begin Effect: Real Clash, End Effect: Full Blade Absorb LightningBlock Effect: Responsive Lightning Block Drag Effect: Intensity Sparking Drag Melt Effect: Intensity Melt Blast Effect: Blast Wave (Random) Clash Effect: Responsive Clash */ StylePtr>,RandomPerLEDFlicker,Black,RgbArg>>,Black>,BrownNoiseFlicker>,Mix,Black,RgbArg>>,200>,RandomPerLEDFlicker,Black,RgbArg>>,Mix,Black,RgbArg>>>>,TransitionEffectL>,TrInstant>,RgbArg>,TrFade<1000>>,EFFECT_IGNITION>,MultiTransitionEffectL>,Scale,Int<100>,Int<400>>,Int<100>,Scale,Int<100>,Int<400>>,Scale,Int<28000>,Int<8000>>>,EFFECT_BLAST>,TransitionEffectL>,Bump,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Scale,Int<12000>,Int<60000>>>>,TrFadeX,Int<200>,Int<400>>>>,EFFECT_CLASH>,LockupTrL,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Scale,Int<14000>,Int<18000>>>,BrownNoiseFlickerL>,Int<200>>,StripesX,Scale,Int<-5000>>,Mix,Black,RgbArg>>,RgbArg>,Mix,Black,RgbArg>>>>,AlphaL>,Mix,Black,RgbArg>>>,Bump,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Int<13000>>>,TrJoin,TrInstant>,TrFade<3000>,EFFECT_LOCKUP_BEGIN>,TrConcat,TrInstant>,Mix,Int<26000>>,RgbArg>,AlphaL>,Bump,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Scale,Int<20000>,Int<60000>>>>>,TrFade<300>>,TrConcat>,TrFade<400>>,SaberBase::LOCKUP_NORMAL>,ResponsiveLightningBlockL>,AudioFlicker>,Blue>,50,1>,TrConcat>,Bump,Int<18000>>>,TrFade<200>>,TrConcat>,Int<16000>>,30>,TrSmoothFade<600>>>,LockupTrL>>,SmoothStep,Int<3000>>>,TrConcat,TrWipeIn<200>>,AlphaL>,Int<300>>,SmoothStep,Int<3000>>>,TrFade<4000>>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL,Int<0>>,StaticFire,RgbArg>,RotateColorsX,RgbArg>>>,Mix,RotateColorsX,RgbArg>>,RotateColorsX,Mix,Black,RgbArg>>>>,0,3,5,3000,10>>,SmoothStep,Int<4000>>>,TrConcat,AlphaL>,SmoothStep,Int<4000>>>,TrJoin,TrFade<300>>,AlphaL,RgbArg>,RotateColorsX,RgbArg>>>,SmoothStep,Int<4000>>>,TrFade<4000>>,TrWipe<200>,SaberBase::LOCKUP_MELT>,InOutTrL>,IgnitionTime<300>>,TrWipeInX>,Black>>>(), StylePtr(), "Unstable Light"}, { "9-RONIN", "", /* copyright Fett263 Visions (Primary Blade) OS6 Style https://fett263.com/fett263-proffieOS6-style-library.html#Visions OS6.7 v4.012 Single Style Base Style: The Duel: Ronin Base Color: Rgb<255,0,0> (0) --Effects Included-- Ignition Effect: SparkTip Ignition PowerUp Effect: Power Flash Retraction Effect: Standard Retraction Lockup Effect: Intensity Lockup V1, Begin Effect: Real Clash, End Effect: Full Blade Absorb LightningBlock Effect: Responsive Lightning Block Drag Effect: Intensity Sparking Drag Melt Effect: Intensity Melt Blast Effect: Blast Wave (Random) Clash Effect: Responsive Clash */ StylePtr>,Mix,Black,RgbArg>>>,RgbArg>,50>,TransitionEffectL>,TrInstant>,RgbArg>,TrFade<1000>>,EFFECT_IGNITION>,MultiTransitionEffectL>,Scale,Int<100>,Int<400>>,Int<100>,Scale,Int<100>,Int<400>>,Scale,Int<28000>,Int<8000>>>,EFFECT_BLAST>,TransitionEffectL>,Bump,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Scale,Int<12000>,Int<60000>>>>,TrFadeX,Int<200>,Int<400>>>>,EFFECT_CLASH>,LockupTrL,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Scale,Int<14000>,Int<18000>>>,BrownNoiseFlickerL>,Int<200>>,StripesX,Scale,Int<-5000>>,Mix,Black,RgbArg>>,RgbArg>,Mix,Black,RgbArg>>>>,AlphaL>,Mix,Black,RgbArg>>>,Bump,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Int<13000>>>,TrJoin,TrInstant>,TrFade<3000>,EFFECT_LOCKUP_BEGIN>,TrConcat,TrInstant>,Mix,Int<26000>>,RgbArg>,AlphaL>,Bump,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Scale,Int<20000>,Int<60000>>>>>,TrFade<300>>,TrConcat>,TrFade<400>>,SaberBase::LOCKUP_NORMAL>,ResponsiveLightningBlockL>,AudioFlicker>,Blue>,50,1>,TrConcat>,Bump,Int<18000>>>,TrFade<200>>,TrConcat>,Int<16000>>,30>,TrSmoothFade<600>>>,LockupTrL>>,SmoothStep,Int<3000>>>,TrConcat,TrWipeIn<200>>,AlphaL>,Int<300>>,SmoothStep,Int<3000>>>,TrFade<4000>>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL,Int<0>>,StaticFire,RgbArg>,RotateColorsX,RgbArg>>>,Mix,RotateColorsX,RgbArg>>,RotateColorsX,Mix,Black,RgbArg>>>>,0,3,5,3000,10>>,SmoothStep,Int<4000>>>,TrConcat,AlphaL>,SmoothStep,Int<4000>>>,TrJoin,TrFade<300>>,AlphaL,RgbArg>,RotateColorsX,RgbArg>>>,SmoothStep,Int<4000>>>,TrFade<4000>>,TrWipe<200>,SaberBase::LOCKUP_MELT>,InOutTrL>,IgnitionTime<300>>,TrWipeInX>,Black>>>(), StylePtr(), "The Ronin"}, { "10-AGGRESSION", "", /* copyright Fett263 Simple (Primary Blade) OS6 Style https://fett263.com/fett263-proffieOS6-style-library.html#Simple OS6.7 v4.012 Single Style Base Style: AudioFlicker (Single Color (50%)) Base Color: Rgb<255,68,0> (0) --Effects Included-- Preon Effect: Overload (PreOn Color) Ignition Effect: SparkTip Ignition PowerUp Effect: Unstable Power Up Forward Retraction Effect: Standard Retraction Lockup Effect: Intensity Lockup V1, Begin Effect: Real Clash, End Effect: Full Blade Absorb LightningBlock Effect: Responsive Lightning Block Drag Effect: Intensity Sparking Drag Melt Effect: Intensity Melt Blast Effect: Blast Wave (Random) Clash Effect: Real Clash V1 Emitter Effect: Flickering Flare */ StylePtr>,Mix,Black,RgbArg>>>,AlphaL>>,SmoothStep,Int<-6000>>>,TransitionEffectL>,TrInstant>,Stripes<3000,-3500,RgbArg>,RandomPerLEDFlicker,Black,RgbArg>>,Black>,BrownNoiseFlicker>,Mix,Black,RgbArg>>,200>,RandomPerLEDFlicker,Black,RgbArg>>,Mix,Black,RgbArg>>>>,TrFade<800>>,EFFECT_IGNITION>,MultiTransitionEffectL>,Scale,Int<100>,Int<400>>,Int<100>,Scale,Int<100>,Int<400>>,Scale,Int<28000>,Int<8000>>>,EFFECT_BLAST>,Mix,Int<26000>>,TransitionEffectL>,Bump,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Scale,Int<12000>,Int<60000>>>>,TrFadeX,Int<200>,Int<400>>>>,EFFECT_CLASH>,TransitionEffectL>,Scale,Int<100>,Int<400>>,Int<100>,Scale,Int<100>,Int<400>>,Scale,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>>,EFFECT_CLASH>>,LockupTrL,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Scale,Int<14000>,Int<18000>>>,BrownNoiseFlickerL>,Int<200>>,StripesX,Scale,Int<-5000>>,Mix,Black,RgbArg>>,RgbArg>,Mix,Black,RgbArg>>>>,AlphaL>,Mix,Black,RgbArg>>>,Bump,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Int<13000>>>,TrJoin,TrInstant>,TrFade<3000>,EFFECT_LOCKUP_BEGIN>,TrConcat,TrInstant>,Mix,Int<26000>>,RgbArg>,AlphaL>,Bump,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Scale,Int<20000>,Int<60000>>>>>,TrFade<300>>,TrConcat>,TrFade<400>>,SaberBase::LOCKUP_NORMAL>,ResponsiveLightningBlockL>,AudioFlicker>,Blue>,50,1>,TrConcat>,Bump,Int<18000>>>,TrFade<200>>,TrConcat>,Int<16000>>,30>,TrSmoothFade<600>>>,LockupTrL>>,SmoothStep,Int<3000>>>,TrConcat,TrWipeIn<200>>,AlphaL>,Int<300>>,SmoothStep,Int<3000>>>,TrFade<4000>>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL,Int<0>>,StaticFire,RgbArg>,RotateColorsX,RgbArg>>>,Mix,RotateColorsX,RgbArg>>,RotateColorsX,Mix,Black,RgbArg>>>>,0,3,5,3000,10>>,SmoothStep,Int<4000>>>,TrConcat,AlphaL>,SmoothStep,Int<4000>>>,TrJoin,TrFade<300>>,AlphaL,RgbArg>,RotateColorsX,RgbArg>>>,SmoothStep,Int<4000>>>,TrFade<4000>>,TrWipe<200>,SaberBase::LOCKUP_MELT>,InOutTrL>,IgnitionTime<300>>,TrWipeInX>,Black>,TransitionEffectL,WavLen>>,AlphaL>,10>,SmoothStep,Int<-4000>>>,TrFadeX,WavLen>>,AlphaL>,15>,SmoothStep,IntArg>,Int<-4000>>>,TrFadeX,WavLen>>,AlphaL>,20>,SmoothStep,IntArg>,Int<-4000>>>,TrBoingX,WavLen>,3>>,EFFECT_PREON>>>(), StylePtr(), "Aggression"}, { "11-SUPREME_LEADER", "", /* copyright Fett263 Simple (Primary Blade) OS6 Style https://fett263.com/fett263-proffieOS6-style-library.html#Simple OS6.7 v4.012 Single Style Base Style: AudioFlicker (Single Color (50%)) Base Color: Rgb<118,0,194> (0) --Effects Included-- Preon Effect: Pulsing (PreOn Color) Ignition Effect: SparkTip Ignition PowerUp Effect: Power Flash Retraction Effect: SparkTip Retraction Lockup Effect: Intensity Lockup V1, Begin Effect: Real Clash, End Effect: Full Blade Absorb LightningBlock Effect: Responsive Lightning Block Drag Effect: Intensity Sparking Drag Melt Effect: Intensity Melt Blast Effect: Blast Wave (Random) Clash Effect: Real Clash V1 Swing Effect: AudioFlicker Swing (Scaled Full Blade) */ StylePtr>,Mix,Black,RgbArg>>>,AlphaL>>,Scale,Int<13600>>,Scale,Int<-19300>,Int<32768>>,Int<0>>>,TransitionEffectL>,TrInstant>,RgbArg>,TrFade<1000>>,EFFECT_IGNITION>,MultiTransitionEffectL>,Scale,Int<100>,Int<400>>,Int<100>,Scale,Int<100>,Int<400>>,Scale,Int<28000>,Int<8000>>>,EFFECT_BLAST>,Mix,Int<26000>>,TransitionEffectL>,Bump,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Scale,Int<12000>,Int<60000>>>>,TrFadeX,Int<200>,Int<400>>>>,EFFECT_CLASH>,TransitionEffectL>,Scale,Int<100>,Int<400>>,Int<100>,Scale,Int<100>,Int<400>>,Scale,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>>,EFFECT_CLASH>>,LockupTrL,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Scale,Int<14000>,Int<18000>>>,BrownNoiseFlickerL>,Int<200>>,StripesX,Scale,Int<-5000>>,Mix,Black,RgbArg>>,RgbArg>,Mix,Black,RgbArg>>>>,AlphaL>,Mix,Black,RgbArg>>>,Bump,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Int<13000>>>,TrJoin,TrInstant>,TrFade<3000>,EFFECT_LOCKUP_BEGIN>,TrConcat,TrInstant>,Mix,Int<26000>>,RgbArg>,AlphaL>,Bump,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Scale,Int<20000>,Int<60000>>>>>,TrFade<300>>,TrConcat>,TrFade<400>>,SaberBase::LOCKUP_NORMAL>,ResponsiveLightningBlockL>,AudioFlicker>,Blue>,50,1>,TrConcat>,Bump,Int<18000>>>,TrFade<200>>,TrConcat>,Int<16000>>,30>,TrSmoothFade<600>>>,LockupTrL>>,SmoothStep,Int<3000>>>,TrConcat,TrWipeIn<200>>,AlphaL>,Int<300>>,SmoothStep,Int<3000>>>,TrFade<4000>>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL,Int<0>>,StaticFire,RgbArg>,RotateColorsX,RgbArg>>>,Mix,RotateColorsX,RgbArg>>,RotateColorsX,Mix,Black,RgbArg>>>>,0,3,5,3000,10>>,SmoothStep,Int<4000>>>,TrConcat,AlphaL>,SmoothStep,Int<4000>>>,TrJoin,TrFade<300>>,AlphaL,RgbArg>,RotateColorsX,RgbArg>>>,SmoothStep,Int<4000>>>,TrFade<4000>>,TrWipe<200>,SaberBase::LOCKUP_MELT>,InOutTrL>,IgnitionTime<300>>,TrWipeInSparkTipX>,RetractionTime<0>>,Black>,TransitionEffectL,WavLen>>,AlphaL>,Int<800>>,SmoothStep,Int<-4000>>>,TrDelayX,WavLen>>>,EFFECT_PREON>>>(), StylePtr(), "Supreme Leader"}, }; BladeConfig blades[] = { { 0, WS281XBladePtr<133, bladePin, Color8::GRB, PowerPINS >(), SimpleBladePtr, NoLED, NoLED, NoLED, bladePowerPin1, -1, -1, -1>() , CONFIGARRAY(blade) }, { NO_BLADE, WS281XBladePtr<133, bladePin, Color8::GRB, PowerPINS >(), SimpleBladePtr, NoLED, NoLED, NoLED, bladePowerPin1, -1, -1, -1>() , CONFIGARRAY(no_blade) }, }; #endif #ifdef CONFIG_BUTTONS Button PowerButton(BUTTON_POWER, powerButtonPin, "pow"); Button AuxButton(BUTTON_AUX, auxPin, "aux"); #endif