// ProffieOS7 Config File #ifdef CONFIG_TOP #include "proffieboard_v3_config.h" #define NUM_BLADES 3 #define NUM_BUTTONS 2 const unsigned int maxLedsPerStrip = 144; #define EXTRA_COLOR_BUFFER_SPACE 60 #define VOLUME 1500 #define CLASH_THRESHOLD_G 3 #define ENABLE_AUDIO #define ENABLE_MOTION #define ENABLE_WS2811 #define ENABLE_SD #define MOTION_TIMEOUT 60 * 5 * 1000 #define IDLE_OFF_TIME 60 * 5 * 1000 #define ORIENTATION ORIENTATION_USB_TOWARDS_BLADE #define DISABLE_BASIC_PARSER_STYLES #define DISABLE_DIAGNOSTIC_COMMANDS #define ENABLE_ALL_EDIT_OPTIONS #define SAVE_PRESET #define NO_REPEAT_RANDOM #define COLOR_CHANGE_DIRECT #define FETT263_EDIT_MODE_MENU #define FETT263_QUICK_SELECT_ON_BOOT #define FETT263_HOLD_BUTTON_OFF #define FETT263_HOLD_BUTTON_LOCKUP #define FETT263_SAVE_GESTURE_OFF #define FETT263_LOCKUP_DELAY 200 #define FETT263_BM_CLASH_DETECT 6 #define FETT263_SWING_ON_SPEED 350 #define FETT263_SWING_ON_PREON #define FETT263_SWING_ON_NO_BM #define FETT263_TWIST_ON_PREON #define FETT263_TWIST_ON_NO_BM #define FETT263_THRUST_ON_PREON #define FETT263_THRUST_ON_NO_BM #define FETT263_STAB_ON_PREON #define FETT263_STAB_ON_NO_BM #define FETT263_TWIST_OFF #endif #ifdef CONFIG_PROP #include "../props/saber_fett263_buttons.h" #endif #ifdef CONFIG_PRESETS Preset presets[] = { { "Fire;common", "Fire/tracks/track.wav", /* copyright Fett263 ResponsiveFlame (Primary Blade) OS7 Style https://fett263.com/fett263-proffieOS7-style-library.html#ResponsiveFlame OS7.12 v1.017-p Single Style Base Style: Responsive Flame (Real Flame Gradient) Base Color: BaseColorArg (0) --Effects Included-- Preon Effect: Overload [Color: PreonColorArg] Ignition Effect: Metal Forge (Heat Up) [Color: IgnitionColorArg] Retraction Effect: Run Up [Color: RetractionColorArg] Lockup Effect: DUNE Intensity Lockup, Begin Effect: Real Clash, End Effect: Full Blade Absorb [Color: LockupColorArg] LightningBlock Effect: Responsive Lightning Block [Color: LBColorArg] Drag Effect: Fire Drag [Color: DragColorArg] Melt Effect: Responsive Melt [Color: StabColorArg] Stab Effect: Sparking Stab [Color: StabColorArg] Clash Effect: DUNE Shield Clash [Color: ClashColorArg] Emitter Effect: Emitter Heat Up [Color: EmitterColorArg] */ StylePtr,Int<16000>>,Int<36000>,Scale,Int<10924>,Int<54000>>>,Scale,Int<16000>>,Int<-1>,Scale,Int<-10000>,Int<-1>>>>,Black,Remap,Scale,Int<15000>>,Int<32768>,Scale,Int<60000>,Int<32768>>>>,Layers,StaticFire,RgbArg>>,RotateColorsX,RgbArg>>,RotateColorsX,RgbArg>>,RgbArg>>,Mix,Black,RgbArg>>,0,2,0,1800,10>,StaticFire,RgbArg>>,RotateColorsX,RgbArg>>,RotateColorsX,RgbArg>>,RgbArg>>,Mix,Black,RgbArg>>,0,4,0,2200,2>>,AlphaL>,AlphaL>,Int<0>>,TrInstant,TrConcat,Red,TrFade<1000>,Orange,TrFade<1000>>,EFFECT_IGNITION>,SmoothStep,Int<-6000>>>,TransitionEffectL>,TrWipeIn<200>>,AlphaL>>,SmoothStep,Int<2000>>>,TrWipe<200>>,EFFECT_STAB>,TransitionEffectL,Int<100>,Int<600>>>,TrCenterWipeX,Scale,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>>>,AlphaL,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>>,StripesX,Scale,Int<3000>,Int<10000>>,Mix,Int<23000>>,Rgb<0,20,128>,Rgb<128,0,0>>,Mix,Int<23000>>,DodgerBlue,Red>,Mix,Int<23000>>,Rgb<0,10,80>,Rgb<90,0,0>>>>,Bump,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Scale,Int<20000>,Int<50000>>>>,TrFadeX,Int<200>,Int<600>>>>,EFFECT_CLASH>,LockupTrL,Int<12000>,Rgb<128,0,0>,Red,Rgb<90,0,0>>,Bump,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Int<50000>>>,TrConcat,Int<2000>,Int<100>>>,TrCenterWipeX,Scale,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>>>,AlphaL,Scale,Int<3000>,Int<10000>>,Mix,Int<23000>>,Rgb<0,20,128>,Rgb<128,0,0>>,Mix,Int<23000>>,DodgerBlue,Red>,Mix,Int<23000>>,Rgb<0,10,80>,Rgb<90,0,0>>>,Bump,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Scale,Int<20000>,Int<50000>>>>,TrFadeX,Int<600>,Int<100>>>>,TrFade<400>,SaberBase::LOCKUP_NORMAL>,ResponsiveLightningBlockL>,AudioFlicker>,Blue>,50,1>,TrConcat>,Bump,Int<18000>>>,TrFade<200>>,TrConcat>,Int<16000>>,30>,TrSmoothFade<600>>>,LockupTrL>,Mix>,Black,RgbArg>>,Mix,Black,RgbArg>>>,SmoothStep,Int<3000>>>,TrWipeIn<200>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL,RgbArg>,RotateColorsX,RgbArg>>>,SmoothStep,Int<4000>>>,TrConcat,AlphaL>,SmoothStep,Int<4000>>>,TrFade<300>>,TrWipe<200>,SaberBase::LOCKUP_MELT>,InOutTrL,Mult,Int<98304>>>>,Red,TrFadeX,Mult,Int<98304>>>>,DarkOrange,TrFadeX,Mult,Int<98304>>>>,White,TrFadeX,Mult,Int<98304>>>>>,TrWipeX,Mult,Int<98304>>>>,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>>>>>("~ ~ ~ ~ 150"), StylePtr(), StylePtr(), "Fire" }, { "Shock_Baton;common", "Shock_Baton/tracks/track.wav", /* copyright Fett263 EnergyWeapon (Primary Blade) OS7 Style https://fett263.com/fett263-proffieOS7-style-library.html#EnergyWeapon OS7.12 v1.017-p Single Style Base Style: Shock Baton Base Color: BaseColorArg (0) --Effects Included-- Ignition Effect: Standard Ignition [Color: IgnitionColorArg] Retraction Effect: Standard Retraction [Color: RetractionColorArg] Lockup Effect: Intensity Lockup V1, Begin Effect: Real Clash, End Effect: Full Blade Absorb [Color: LockupColorArg] LightningBlock Effect: Responsive Lightning Block [Color: LBColorArg] Drag Effect: Intensity Sparking Drag [Color: DragColorArg] Melt Effect: Intensity Melt [Color: StabColorArg] Blast Effect: Blast Wave (Random) [Color: BlastColorArg] Clash Effect: Real Clash V1 [Color: ClashColorArg] */ StylePtr>,Black,300>,Stripes<3000,-4000,Rgb<50,50,75>,Rgb<100,100,150>,Rgb<10,10,15>,Rgb<150,150,225>>,200>,TransitionEffectL>,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,Mult,Int<98304>>>>,TrWipeInX,Mult,Int<98304>>>>,Black>>>(), StylePtr(), StylePtr(), "preset1" }, }; BladeConfig blades[] = { { 0, WS281XBladePtr<144, bladePin, Color8::GRB, PowerPINS >(), SubBladeWithStride(0, 15, 2, WS281XBladePtr<16, blade2Pin, Color8::GRB, PowerPINS >()), SubBladeWithStride(1, 15, 2, NULL) , CONFIGARRAY(presets) }, }; #endif #ifdef CONFIG_BUTTONS Button PowerButton(BUTTON_POWER, powerButtonPin, "pow"); Button AuxButton(BUTTON_AUX, auxPin, "aux"); #endif /* Generated with Fett263 Config Helper v3.05 */