Advertisement
Guest User

Untitled

a guest
Jun 15th, 2023
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.76 KB | None | 0 0
  1. // ProffieOS7 Config File
  2. #ifdef CONFIG_TOP
  3. #include "proffieboard_v3_config.h"
  4. #define NUM_BLADES 7
  5. #define NUM_BUTTONS 2
  6. const unsigned int maxLedsPerStrip = 144;
  7. #define VOLUME 1000
  8. #define CLASH_THRESHOLD_G 3
  9. #define ENABLE_AUDIO
  10. #define ENABLE_MOTION
  11. #define ENABLE_WS2811
  12. #define ENABLE_SD
  13. #define MOTION_TIMEOUT 60 * 15 * 1000
  14. #define IDLE_OFF_TIME 60 * 15 * 1000
  15. #define ORIENTATION ORIENTATION_USB_TOWARDS_BLADE
  16. #define DISABLE_BASIC_PARSER_STYLES
  17. #define DISABLE_DIAGNOSTIC_COMMANDS
  18. #define ENABLE_ALL_EDIT_OPTIONS
  19. #define SAVE_PRESET
  20. #define NO_REPEAT_RANDOM
  21. #define COLOR_CHANGE_DIRECT
  22. #define BLADE_DETECT_PIN blade4Pin
  23. #define ENABLE_SSD1306
  24. #define FETT263_EDIT_MODE_MENU
  25. #define FETT263_CLASH_STRENGTH_SOUND
  26. #define FETT263_MAX_CLASH 12
  27. #define FETT263_MOTION_WAKE_POWER_BUTTON
  28. #define FETT263_LOCKUP_DELAY 200
  29. #define FETT263_BM_CLASH_DETECT 6
  30. #endif
  31.  
  32. #ifdef CONFIG_PROP
  33. #include "../props/saber_fett263_buttons.h"
  34. #endif
  35.  
  36.  
  37. #ifdef CONFIG_PRESETS
  38.  
  39. Preset presets[] = {
  40. { "Rescue;common", "font0/tracks/track.wav",
  41. /* copyright Fett263 Rotoscope (Primary Blade) OS6 Style
  42. https://fett263.com/fett263-proffieOS6-style-library.html#Rotoscope
  43. OS6.7 v4.021
  44. Single Style
  45. Base Style: Hyper Responsive Rotoscope (Subtle)
  46.  
  47. Base Color: Rgb<0,255,0> (0)
  48.  
  49. --Effects Included--
  50. Ignition Effect: Standard Ignition
  51. PowerUp Effect: Power Flash
  52. Retraction Effect: Standard Retraction
  53. Lockup Effect: Intensity Lockup V1, Begin Effect: Real Clash, End Effect: Localized Absorb
  54. LightningBlock Effect: Responsive Lightning Block
  55. Drag Effect: Intensity Sparking Drag
  56. Melt Effect: Intensity Melt
  57. Blast Effect: Responsive Blast Wave (Random)
  58. Clash Effect: Real Clash V1
  59. */
  60. StylePtr<Layers<Mix<HoldPeakF<SwingSpeed<250>,Scale<SwingAcceleration<100>,Int<50>,Int<500>>,Scale<SwingAcceleration<>,Int<20000>,Int<10000>>>,Mix<Sin<Int<16>,Int<32768>,Int<18000>>,RgbArg<BASE_COLOR_ARG,Rgb<0,255,0>>,Stripes<12000,-200,RgbArg<BASE_COLOR_ARG,Rgb<0,255,0>>,Mix<Int<20000>,Black,RgbArg<BASE_COLOR_ARG,Rgb<0,255,0>>>,RgbArg<BASE_COLOR_ARG,Rgb<0,255,0>>,Mix<Int<16448>,Black,RgbArg<BASE_COLOR_ARG,Rgb<0,255,0>>>>>,RgbArg<BASE_COLOR_ARG,Rgb<0,255,0>>>,TransitionEffectL<TrConcat<TrJoin<TrDelayX<IgnitionTime<300>>,TrInstant>,RgbArg<IGNITION_COLOR_ARG,Rgb<0,255,0>>,TrFade<1000>>,EFFECT_IGNITION>,TransitionEffectL<TrWaveX<RgbArg<BLAST_COLOR_ARG,Rgb<255,244,157>>,Scale<EffectPosition<EFFECT_BLAST>,Int<100>,Int<400>>,Int<100>,Scale<EffectPosition<EFFECT_BLAST>,Int<100>,Int<400>>,Scale<BladeAngle<>,Int<28000>,Int<8000>>>,EFFECT_BLAST>,Mix<IsLessThan<ClashImpactF<>,Int<26000>>,TransitionEffectL<TrConcat<TrInstant,AlphaL<RgbArg<CLASH_COLOR_ARG,Rgb<255,244,157>>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,18174>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,18174>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,18174>,Int<-10000>>>,Scale<ClashImpactF<>,Int<12000>,Int<60000>>>>,TrFadeX<Scale<ClashImpactF<>,Int<200>,Int<400>>>>,EFFECT_CLASH>,TransitionEffectL<TrWaveX<RgbArg<CLASH_COLOR_ARG,Rgb<255,244,157>>,Scale<ClashImpactF<>,Int<100>,Int<400>>,Int<100>,Scale<ClashImpactF<>,Int<100>,Int<400>>,Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,18174>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,18174>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,18174>,Int<-10000>>>>,EFFECT_CLASH>>,LockupTrL<TransitionEffect<AlphaMixL<Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,18174>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,18174>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,18174>,Int<-10000>>>,Scale<SwingSpeed<100>,Int<14000>,Int<18000>>>,BrownNoiseFlickerL<RgbArg<LOCKUP_COLOR_ARG,Rgb<255,244,157>>,Int<200>>,StripesX<Int<1800>,Scale<NoisySoundLevel,Int<-3500>,Int<-5000>>,Mix<Int<6425>,Black,RgbArg<LOCKUP_COLOR_ARG,Rgb<255,244,157>>>,RgbArg<LOCKUP_COLOR_ARG,Rgb<255,244,157>>,Mix<Int<12850>,Black,RgbArg<LOCKUP_COLOR_ARG,Rgb<255,244,157>>>>>,AlphaL<AudioFlicker<RgbArg<LOCKUP_COLOR_ARG,Rgb<255,244,157>>,Mix<Int<10280>,Black,RgbArg<LOCKUP_COLOR_ARG,Rgb<255,244,157>>>>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,18174>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,18174>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,18174>,Int<-10000>>>,Int<13000>>>,TrJoin<TrDelay<8000>,TrInstant>,TrFade<3000>,EFFECT_LOCKUP_BEGIN>,TrConcat<TrJoin<TrDelay<50>,TrInstant>,Mix<IsLessThan<ClashImpactF<>,Int<26000>>,RgbArg<LOCKUP_COLOR_ARG,Rgb<255,244,157>>,AlphaL<RgbArg<LOCKUP_COLOR_ARG,Rgb<255,244,157>>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,18174>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,18174>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,18174>,Int<-10000>>>,Scale<ClashImpactF<>,Int<20000>,Int<60000>>>>>,TrFade<300>>,TrConcat<TrInstant,AlphaL<RgbArg<LOCKUP_COLOR_ARG,Rgb<255,244,157>>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,18174>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,18174>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,18174>,Int<-10000>>>,Int<13000>>>,TrFade<400>>,SaberBase::LOCKUP_NORMAL>,ResponsiveLightningBlockL<Strobe<RgbArg<LB_COLOR_ARG,Rgb<191,255,255>>,AudioFlicker<RgbArg<LB_COLOR_ARG,Rgb<191,255,255>>,Blue>,50,1>,TrConcat<TrInstant,AlphaL<RgbArg<LB_COLOR_ARG,Rgb<191,255,255>>,Bump<Int<12000>,Int<18000>>>,TrFade<200>>,TrConcat<TrInstant,HumpFlickerL<AlphaL<RgbArg<LB_COLOR_ARG,Rgb<191,255,255>>,Int<16000>>,30>,TrSmoothFade<600>>>,LockupTrL<AlphaL<RandomPerLEDFlickerL<RgbArg<DRAG_COLOR_ARG,Rgb<255,244,157>>>,SmoothStep<IntArg<DRAG_SIZE_ARG,30742>,Int<3000>>>,TrConcat<TrJoin<TrDelay<4000>,TrWipeIn<200>>,AlphaL<BrownNoiseFlickerL<RgbArg<DRAG_COLOR_ARG,Rgb<255,244,157>>,Int<300>>,SmoothStep<IntArg<DRAG_SIZE_ARG,30742>,Int<3000>>>,TrFade<4000>>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL<AlphaL<Remap<Scale<RampF,Int<65536>,Int<0>>,StaticFire<Mix<TwistAngle<>,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>,RotateColorsX<Int<3000>,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>>>,Mix<TwistAngle<>,RotateColorsX<Int<3000>,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>>,RotateColorsX<Int<3000>,Mix<Int<12000>,Black,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>>>>,0,3,5,3000,10>>,SmoothStep<IntArg<MELT_SIZE_ARG,28000>,Int<4000>>>,TrConcat<TrWipeIn<100>,AlphaL<RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>,SmoothStep<IntArg<MELT_SIZE_ARG,28000>,Int<4000>>>,TrJoin<TrDelay<4000>,TrFade<300>>,AlphaL<Mix<TwistAngle<>,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>,RotateColorsX<Int<3000>,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>>>,SmoothStep<IntArg<MELT_SIZE_ARG,28000>,Int<4000>>>,TrFade<4000>>,TrWipe<200>,SaberBase::LOCKUP_MELT>,InOutTrL<TrWipeX<IgnitionTime<300>>,TrWipeInX<RetractionTime<0>>,Black>>>(),
  61.  
  62. /* copyright Fett263 Rotoscope (Primary Blade) OS6 Style
  63. https://fett263.com/fett263-proffieOS6-style-library.html#Rotoscope
  64. OS6.7 v4.021
  65. Single Style
  66. Base Style: Hyper Responsive Rotoscope (Subtle)
  67.  
  68. Base Color: Rgb<0,255,0> (0)
  69.  
  70. --Effects Included--
  71. Ignition Effect: Standard Ignition
  72. PowerUp Effect: Power Flash
  73. Retraction Effect: Standard Retraction
  74. Lockup Effect: Intensity Lockup V1, Begin Effect: Real Clash, End Effect: Localized Absorb
  75. LightningBlock Effect: Responsive Lightning Block
  76. Drag Effect: Intensity Sparking Drag
  77. Melt Effect: Intensity Melt
  78. Blast Effect: Responsive Blast Wave (Random)
  79. Clash Effect: Real Clash V1
  80. */
  81. StylePtr<Layers<Mix<HoldPeakF<SwingSpeed<250>,Scale<SwingAcceleration<100>,Int<50>,Int<500>>,Scale<SwingAcceleration<>,Int<20000>,Int<10000>>>,Mix<Sin<Int<16>,Int<32768>,Int<18000>>,RgbArg<BASE_COLOR_ARG,Rgb<0,255,0>>,Stripes<12000,-200,RgbArg<BASE_COLOR_ARG,Rgb<0,255,0>>,Mix<Int<20000>,Black,RgbArg<BASE_COLOR_ARG,Rgb<0,255,0>>>,RgbArg<BASE_COLOR_ARG,Rgb<0,255,0>>,Mix<Int<16448>,Black,RgbArg<BASE_COLOR_ARG,Rgb<0,255,0>>>>>,RgbArg<BASE_COLOR_ARG,Rgb<0,255,0>>>,TransitionEffectL<TrConcat<TrJoin<TrDelayX<IgnitionTime<300>>,TrInstant>,RgbArg<IGNITION_COLOR_ARG,Rgb<0,255,0>>,TrFade<1000>>,EFFECT_IGNITION>,TransitionEffectL<TrWaveX<RgbArg<BLAST_COLOR_ARG,Rgb<255,244,157>>,Scale<EffectPosition<EFFECT_BLAST>,Int<100>,Int<400>>,Int<100>,Scale<EffectPosition<EFFECT_BLAST>,Int<100>,Int<400>>,Scale<BladeAngle<>,Int<28000>,Int<8000>>>,EFFECT_BLAST>,Mix<IsLessThan<ClashImpactF<>,Int<26000>>,TransitionEffectL<TrConcat<TrInstant,AlphaL<RgbArg<CLASH_COLOR_ARG,Rgb<255,244,157>>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,18174>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,18174>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,18174>,Int<-10000>>>,Scale<ClashImpactF<>,Int<12000>,Int<60000>>>>,TrFadeX<Scale<ClashImpactF<>,Int<200>,Int<400>>>>,EFFECT_CLASH>,TransitionEffectL<TrWaveX<RgbArg<CLASH_COLOR_ARG,Rgb<255,244,157>>,Scale<ClashImpactF<>,Int<100>,Int<400>>,Int<100>,Scale<ClashImpactF<>,Int<100>,Int<400>>,Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,18174>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,18174>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,18174>,Int<-10000>>>>,EFFECT_CLASH>>,LockupTrL<TransitionEffect<AlphaMixL<Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,18174>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,18174>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,18174>,Int<-10000>>>,Scale<SwingSpeed<100>,Int<14000>,Int<18000>>>,BrownNoiseFlickerL<RgbArg<LOCKUP_COLOR_ARG,Rgb<255,244,157>>,Int<200>>,StripesX<Int<1800>,Scale<NoisySoundLevel,Int<-3500>,Int<-5000>>,Mix<Int<6425>,Black,RgbArg<LOCKUP_COLOR_ARG,Rgb<255,244,157>>>,RgbArg<LOCKUP_COLOR_ARG,Rgb<255,244,157>>,Mix<Int<12850>,Black,RgbArg<LOCKUP_COLOR_ARG,Rgb<255,244,157>>>>>,AlphaL<AudioFlicker<RgbArg<LOCKUP_COLOR_ARG,Rgb<255,244,157>>,Mix<Int<10280>,Black,RgbArg<LOCKUP_COLOR_ARG,Rgb<255,244,157>>>>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,18174>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,18174>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,18174>,Int<-10000>>>,Int<13000>>>,TrJoin<TrDelay<8000>,TrInstant>,TrFade<3000>,EFFECT_LOCKUP_BEGIN>,TrConcat<TrJoin<TrDelay<50>,TrInstant>,Mix<IsLessThan<ClashImpactF<>,Int<26000>>,RgbArg<LOCKUP_COLOR_ARG,Rgb<255,244,157>>,AlphaL<RgbArg<LOCKUP_COLOR_ARG,Rgb<255,244,157>>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,18174>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,18174>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,18174>,Int<-10000>>>,Scale<ClashImpactF<>,Int<20000>,Int<60000>>>>>,TrFade<300>>,TrConcat<TrInstant,AlphaL<RgbArg<LOCKUP_COLOR_ARG,Rgb<255,244,157>>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,18174>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,18174>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,18174>,Int<-10000>>>,Int<13000>>>,TrFade<400>>,SaberBase::LOCKUP_NORMAL>,ResponsiveLightningBlockL<Strobe<RgbArg<LB_COLOR_ARG,Rgb<191,255,255>>,AudioFlicker<RgbArg<LB_COLOR_ARG,Rgb<191,255,255>>,Blue>,50,1>,TrConcat<TrInstant,AlphaL<RgbArg<LB_COLOR_ARG,Rgb<191,255,255>>,Bump<Int<12000>,Int<18000>>>,TrFade<200>>,TrConcat<TrInstant,HumpFlickerL<AlphaL<RgbArg<LB_COLOR_ARG,Rgb<191,255,255>>,Int<16000>>,30>,TrSmoothFade<600>>>,LockupTrL<AlphaL<RandomPerLEDFlickerL<RgbArg<DRAG_COLOR_ARG,Rgb<255,244,157>>>,SmoothStep<IntArg<DRAG_SIZE_ARG,30742>,Int<3000>>>,TrConcat<TrJoin<TrDelay<4000>,TrWipeIn<200>>,AlphaL<BrownNoiseFlickerL<RgbArg<DRAG_COLOR_ARG,Rgb<255,244,157>>,Int<300>>,SmoothStep<IntArg<DRAG_SIZE_ARG,30742>,Int<3000>>>,TrFade<4000>>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL<AlphaL<Remap<Scale<RampF,Int<65536>,Int<0>>,StaticFire<Mix<TwistAngle<>,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>,RotateColorsX<Int<3000>,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>>>,Mix<TwistAngle<>,RotateColorsX<Int<3000>,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>>,RotateColorsX<Int<3000>,Mix<Int<12000>,Black,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>>>>,0,3,5,3000,10>>,SmoothStep<IntArg<MELT_SIZE_ARG,28000>,Int<4000>>>,TrConcat<TrWipeIn<100>,AlphaL<RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>,SmoothStep<IntArg<MELT_SIZE_ARG,28000>,Int<4000>>>,TrJoin<TrDelay<4000>,TrFade<300>>,AlphaL<Mix<TwistAngle<>,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>,RotateColorsX<Int<3000>,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>>>,SmoothStep<IntArg<MELT_SIZE_ARG,28000>,Int<4000>>>,TrFade<4000>>,TrWipe<200>,SaberBase::LOCKUP_MELT>,InOutTrL<TrWipeX<IgnitionTime<300>>,TrWipeInX<RetractionTime<0>>,Black>>>(),
  82.  
  83. /* copyright Fett263 Rotoscope (Primary Blade) OS6 Style
  84. https://fett263.com/fett263-proffieOS6-style-library.html#Rotoscope
  85. OS6.7 v4.021
  86. Single Style
  87. Base Style: Hyper Responsive Rotoscope (Subtle)
  88.  
  89. Base Color: Rgb<0,255,0> (0)
  90.  
  91. --Effects Included--
  92. Ignition Effect: Standard Ignition
  93. PowerUp Effect: Power Flash
  94. Retraction Effect: Standard Retraction
  95. Lockup Effect: Intensity Lockup V1, Begin Effect: Real Clash, End Effect: Localized Absorb
  96. LightningBlock Effect: Responsive Lightning Block
  97. Drag Effect: Intensity Sparking Drag
  98. Melt Effect: Intensity Melt
  99. Blast Effect: Responsive Blast Wave (Random)
  100. Clash Effect: Real Clash V1
  101. */
  102. StylePtr<Layers<Mix<HoldPeakF<SwingSpeed<250>,Scale<SwingAcceleration<100>,Int<50>,Int<500>>,Scale<SwingAcceleration<>,Int<20000>,Int<10000>>>,Mix<Sin<Int<16>,Int<32768>,Int<18000>>,RgbArg<BASE_COLOR_ARG,Rgb<0,255,0>>,Stripes<12000,-200,RgbArg<BASE_COLOR_ARG,Rgb<0,255,0>>,Mix<Int<20000>,Black,RgbArg<BASE_COLOR_ARG,Rgb<0,255,0>>>,RgbArg<BASE_COLOR_ARG,Rgb<0,255,0>>,Mix<Int<16448>,Black,RgbArg<BASE_COLOR_ARG,Rgb<0,255,0>>>>>,RgbArg<BASE_COLOR_ARG,Rgb<0,255,0>>>,TransitionEffectL<TrConcat<TrJoin<TrDelayX<IgnitionTime<300>>,TrInstant>,RgbArg<IGNITION_COLOR_ARG,Rgb<0,255,0>>,TrFade<1000>>,EFFECT_IGNITION>,TransitionEffectL<TrWaveX<RgbArg<BLAST_COLOR_ARG,Rgb<255,244,157>>,Scale<EffectPosition<EFFECT_BLAST>,Int<100>,Int<400>>,Int<100>,Scale<EffectPosition<EFFECT_BLAST>,Int<100>,Int<400>>,Scale<BladeAngle<>,Int<28000>,Int<8000>>>,EFFECT_BLAST>,Mix<IsLessThan<ClashImpactF<>,Int<26000>>,TransitionEffectL<TrConcat<TrInstant,AlphaL<RgbArg<CLASH_COLOR_ARG,Rgb<255,244,157>>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,18174>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,18174>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,18174>,Int<-10000>>>,Scale<ClashImpactF<>,Int<12000>,Int<60000>>>>,TrFadeX<Scale<ClashImpactF<>,Int<200>,Int<400>>>>,EFFECT_CLASH>,TransitionEffectL<TrWaveX<RgbArg<CLASH_COLOR_ARG,Rgb<255,244,157>>,Scale<ClashImpactF<>,Int<100>,Int<400>>,Int<100>,Scale<ClashImpactF<>,Int<100>,Int<400>>,Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,18174>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,18174>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,18174>,Int<-10000>>>>,EFFECT_CLASH>>,LockupTrL<TransitionEffect<AlphaMixL<Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,18174>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,18174>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,18174>,Int<-10000>>>,Scale<SwingSpeed<100>,Int<14000>,Int<18000>>>,BrownNoiseFlickerL<RgbArg<LOCKUP_COLOR_ARG,Rgb<255,244,157>>,Int<200>>,StripesX<Int<1800>,Scale<NoisySoundLevel,Int<-3500>,Int<-5000>>,Mix<Int<6425>,Black,RgbArg<LOCKUP_COLOR_ARG,Rgb<255,244,157>>>,RgbArg<LOCKUP_COLOR_ARG,Rgb<255,244,157>>,Mix<Int<12850>,Black,RgbArg<LOCKUP_COLOR_ARG,Rgb<255,244,157>>>>>,AlphaL<AudioFlicker<RgbArg<LOCKUP_COLOR_ARG,Rgb<255,244,157>>,Mix<Int<10280>,Black,RgbArg<LOCKUP_COLOR_ARG,Rgb<255,244,157>>>>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,18174>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,18174>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,18174>,Int<-10000>>>,Int<13000>>>,TrJoin<TrDelay<8000>,TrInstant>,TrFade<3000>,EFFECT_LOCKUP_BEGIN>,TrConcat<TrJoin<TrDelay<50>,TrInstant>,Mix<IsLessThan<ClashImpactF<>,Int<26000>>,RgbArg<LOCKUP_COLOR_ARG,Rgb<255,244,157>>,AlphaL<RgbArg<LOCKUP_COLOR_ARG,Rgb<255,244,157>>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,18174>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,18174>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,18174>,Int<-10000>>>,Scale<ClashImpactF<>,Int<20000>,Int<60000>>>>>,TrFade<300>>,TrConcat<TrInstant,AlphaL<RgbArg<LOCKUP_COLOR_ARG,Rgb<255,244,157>>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,18174>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,18174>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,18174>,Int<-10000>>>,Int<13000>>>,TrFade<400>>,SaberBase::LOCKUP_NORMAL>,ResponsiveLightningBlockL<Strobe<RgbArg<LB_COLOR_ARG,Rgb<191,255,255>>,AudioFlicker<RgbArg<LB_COLOR_ARG,Rgb<191,255,255>>,Blue>,50,1>,TrConcat<TrInstant,AlphaL<RgbArg<LB_COLOR_ARG,Rgb<191,255,255>>,Bump<Int<12000>,Int<18000>>>,TrFade<200>>,TrConcat<TrInstant,HumpFlickerL<AlphaL<RgbArg<LB_COLOR_ARG,Rgb<191,255,255>>,Int<16000>>,30>,TrSmoothFade<600>>>,LockupTrL<AlphaL<RandomPerLEDFlickerL<RgbArg<DRAG_COLOR_ARG,Rgb<255,244,157>>>,SmoothStep<IntArg<DRAG_SIZE_ARG,30742>,Int<3000>>>,TrConcat<TrJoin<TrDelay<4000>,TrWipeIn<200>>,AlphaL<BrownNoiseFlickerL<RgbArg<DRAG_COLOR_ARG,Rgb<255,244,157>>,Int<300>>,SmoothStep<IntArg<DRAG_SIZE_ARG,30742>,Int<3000>>>,TrFade<4000>>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL<AlphaL<Remap<Scale<RampF,Int<65536>,Int<0>>,StaticFire<Mix<TwistAngle<>,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>,RotateColorsX<Int<3000>,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>>>,Mix<TwistAngle<>,RotateColorsX<Int<3000>,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>>,RotateColorsX<Int<3000>,Mix<Int<12000>,Black,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>>>>,0,3,5,3000,10>>,SmoothStep<IntArg<MELT_SIZE_ARG,28000>,Int<4000>>>,TrConcat<TrWipeIn<100>,AlphaL<RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>,SmoothStep<IntArg<MELT_SIZE_ARG,28000>,Int<4000>>>,TrJoin<TrDelay<4000>,TrFade<300>>,AlphaL<Mix<TwistAngle<>,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>,RotateColorsX<Int<3000>,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>>>,SmoothStep<IntArg<MELT_SIZE_ARG,28000>,Int<4000>>>,TrFade<4000>>,TrWipe<200>,SaberBase::LOCKUP_MELT>,InOutTrL<TrWipeX<IgnitionTime<300>>,TrWipeInX<RetractionTime<0>>,Black>>>(),
  103.  
  104. /* copyright Fett263 Rotoscope (Accent LED / PCB) OS6 Style
  105. https://fett263.com/fett263-proffieOS6-style-library.html#Rotoscope
  106. OS6.7 v4.021
  107. Single Style
  108. Base Style: Hyper Responsive Rotoscope (Subtle)
  109.  
  110. Off Behavior: K.I.T.T. Scanner
  111.  
  112. Base Color: Rgb<0,255,0> (0)
  113.  
  114. --Effects Included--
  115. Ignition Effect: Wipe In + Fade
  116. Retraction Effect: Run Up + Fade
  117. Lockup Effect: Full Blade Lockup (Dissipate)
  118. LightningBlock Effect: Full Blade Lightning
  119. Blast Effect: Blast Wave Down (Sound Based)
  120. Clash Effect: Clash Ripple Down
  121. */
  122. StylePtr<Layers<Mix<HoldPeakF<SwingSpeed<250>,Scale<SwingAcceleration<100>,Int<50>,Int<500>>,Scale<SwingAcceleration<>,Int<20000>,Int<10000>>>,Mix<Sin<Int<16>,Int<32768>,Int<18000>>,RgbArg<BASE_COLOR_ARG,Rgb<0,255,0>>,Stripes<12000,-200,RgbArg<BASE_COLOR_ARG,Rgb<0,255,0>>,Mix<Int<20000>,Black,RgbArg<BASE_COLOR_ARG,Rgb<0,255,0>>>,RgbArg<BASE_COLOR_ARG,Rgb<0,255,0>>,Mix<Int<16448>,Black,RgbArg<BASE_COLOR_ARG,Rgb<0,255,0>>>>>,RgbArg<BASE_COLOR_ARG,Rgb<0,255,0>>>,TransitionEffectL<TrWaveX<RgbArg<BLAST_COLOR_ARG,Rgb<255,244,157>>,Scale<WavLen<>,Int<100>,Int<400>>,Int<100>,Scale<WavLen<>,Int<100>,Int<400>>,Int<32768>>,EFFECT_BLAST>,TransitionEffectL<TrConcat<TrInstant,AlphaL<RgbArg<CLASH_COLOR_ARG,Rgb<255,244,157>>,Bump<Int<16384>,Int<6000>>>,TrFade<50>,AlphaL<RgbArg<CLASH_COLOR_ARG,Rgb<255,244,157>>,Int<0>>,TrSparkX<Stripes<2000,2000,RgbArg<CLASH_COLOR_ARG,Rgb<255,244,157>>,Mix<Int<2096>,Black,RgbArg<CLASH_COLOR_ARG,Rgb<255,244,157>>>>,Int<100>,Int<300>,Int<32768>>>,EFFECT_CLASH>,LockupTrL<AudioFlickerL<RgbArg<LOCKUP_COLOR_ARG,Rgb<255,244,157>>>,TrConcat<TrInstant,RgbArg<LOCKUP_COLOR_ARG,Rgb<255,244,157>>,TrFade<400>>,TrConcat<TrInstant,AlphaL<RgbArg<LOCKUP_COLOR_ARG,Rgb<255,244,157>>,Int<0>>,TrWaveX<RgbArg<LOCKUP_COLOR_ARG,Rgb<255,244,157>>,Int<300>,Int<100>,Int<400>,Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,18174>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,18174>,Int<10000>>>,Scale<SwingSpeed<100>,Int<14000>,Int<18000>>>>>,SaberBase::LOCKUP_NORMAL>,LockupTrL<Strobe<RgbArg<LB_COLOR_ARG,Rgb<191,255,255>>,AudioFlicker<RgbArg<LB_COLOR_ARG,Rgb<191,255,255>>,Blue>,50,1>,TrInstant,TrFade<1000>,SaberBase::LOCKUP_LIGHTNING_BLOCK>,InOutTrL<TrJoinR<TrWipeInX<IgnitionTime<0>>,TrSmoothFadeX<IgnitionTime<0>>>,TrJoin<TrWipeX<RetractionTime<0>>,TrSmoothFadeX<RetractionTime<0>>>,Mix<Bump<Sin<Int<18>>,Int<20000>>,Black,RgbArg<OFF_COLOR_ARG,Rgb<255,255,255>>>>>>(),
  123.  
  124. /* copyright Fett263 Rotoscope (Crystal Chamber) OS6 Style
  125. https://fett263.com/fett263-proffieOS6-style-library.html#Rotoscope
  126. OS6.7 v4.021
  127. Single Style
  128. Base Style: Hyper Responsive Rotoscope (Subtle)
  129.  
  130. Off Behavior: Slow Pulse Dim-On
  131.  
  132. Base Color: Rgb<0,255,0> (0)
  133.  
  134. --Effects Included--
  135. Ignition Effect: Fade Up
  136. Retraction Effect: Fade Out
  137. Lockup Effect: Full Blade Lockup (Ripple)
  138. LightningBlock Effect: Full Blade Lightning
  139. Blast Effect: Blast Wave Up (Sound Based)
  140. Clash Effect: Flash on Clash (Full Blade)
  141. */
  142. StylePtr<Layers<Mix<HoldPeakF<SwingSpeed<250>,Scale<SwingAcceleration<100>,Int<50>,Int<500>>,Scale<SwingAcceleration<>,Int<20000>,Int<10000>>>,Mix<Sin<Int<16>,Int<32768>,Int<18000>>,RgbArg<BASE_COLOR_ARG,Rgb<0,255,0>>,Stripes<12000,-200,RgbArg<BASE_COLOR_ARG,Rgb<0,255,0>>,Mix<Int<20000>,Black,RgbArg<BASE_COLOR_ARG,Rgb<0,255,0>>>,RgbArg<BASE_COLOR_ARG,Rgb<0,255,0>>,Mix<Int<16448>,Black,RgbArg<BASE_COLOR_ARG,Rgb<0,255,0>>>>>,RgbArg<BASE_COLOR_ARG,Rgb<0,255,0>>>,TransitionEffectL<TrWaveX<RgbArg<BLAST_COLOR_ARG,Rgb<255,244,157>>,Scale<WavLen<>,Int<100>,Int<400>>,Int<100>,Scale<WavLen<>,Int<100>,Int<400>>,Int<0>>,EFFECT_BLAST>,TransitionEffectL<TrConcat<TrJoin<TrDelay<30>,TrInstant>,RgbArg<CLASH_COLOR_ARG,Rgb<255,244,157>>,TrFade<300>>,EFFECT_CLASH>,LockupTrL<AudioFlickerL<RgbArg<LOCKUP_COLOR_ARG,Rgb<255,244,157>>>,TrConcat<TrInstant,RgbArg<LOCKUP_COLOR_ARG,Rgb<255,244,157>>,TrFade<400>>,TrSparkX<Remap<CenterDistF<>,Stripes<1200,-3600,Mix<Int<6425>,Black,RgbArg<LOCKUP_COLOR_ARG,Rgb<255,244,157>>>,RgbArg<LOCKUP_COLOR_ARG,Rgb<255,244,157>>,Mix<Int<12850>,Black,RgbArg<LOCKUP_COLOR_ARG,Rgb<255,244,157>>>>>,Int<30>,Scale<Sum<ClashImpactF<>,SwingSpeed<600>>,Int<100>,Int<400>>,Int<16384>>,SaberBase::LOCKUP_NORMAL>,LockupTrL<Strobe<RgbArg<LB_COLOR_ARG,Rgb<191,255,255>>,AudioFlicker<RgbArg<LB_COLOR_ARG,Rgb<191,255,255>>,Blue>,50,1>,TrInstant,TrFade<1000>,SaberBase::LOCKUP_LIGHTNING_BLOCK>,InOutTrL<TrFadeX<IgnitionTime<0>>,TrFadeX<RetractionTime<0>>,Pulsing<Mix<Int<8192>,Black,RgbArg<OFF_COLOR_ARG,Rgb<0,255,0>>>,RgbArg<OFF_COLOR_ARG,Rgb<0,255,0>>,8000>>>>(),
  143.  
  144. /* copyright Fett263 Rotoscope (Accent LED / PCB) OS6 Style
  145. https://fett263.com/fett263-proffieOS6-style-library.html#Rotoscope
  146. OS6.7 v4.021
  147. Single Style
  148. Base Style: Hyper Responsive Rotoscope (Original Trilogy)
  149.  
  150. Off Behavior: Luke ROTJ (Green Arrow)
  151.  
  152. Base Color: Rgb<255,255,255> (0)
  153.  
  154. --Effects Included--
  155. Ignition Effect: Fade Up
  156. Retraction Effect: Fade Out
  157. */
  158. StylePtr<Layers<Mix<HoldPeakF<SwingSpeed<250>,Scale<SwingAcceleration<100>,Int<50>,Int<500>>,Scale<SwingAcceleration<>,Int<20000>,Int<10000>>>,RandomFlicker<StripesX<Int<15000>,Scale<HoldPeakF<SwingSpeed<200>,Scale<SwingAcceleration<100>,Int<50>,Int<300>>,Scale<SwingAcceleration<100>,Int<24000>,Int<16000>>>,Int<-3200>,Int<-200>>,RgbArg<BASE_COLOR_ARG,Rgb<255,255,255>>,RgbArg<BASE_COLOR_ARG,Rgb<255,255,255>>,Mix<Int<7710>,Black,RgbArg<BASE_COLOR_ARG,Rgb<255,255,255>>>,RgbArg<BASE_COLOR_ARG,Rgb<255,255,255>>,Mix<Int<19276>,Black,RgbArg<BASE_COLOR_ARG,Rgb<255,255,255>>>>,RgbArg<BASE_COLOR_ARG,Rgb<255,255,255>>>,RgbArg<BASE_COLOR_ARG,Rgb<255,255,255>>>,InOutTrL<TrFadeX<IgnitionTime<0>>,TrFadeX<RetractionTime<0>>,TransitionLoop<RgbArg<OFF_COLOR_ARG,Rgb<255,255,255>>,TrConcat<TrBoing<3000,9>,Black,TrDelay<2000>>>>>>(),
  159.  
  160. /* copyright Fett263 BlankBlade (Accent LED / PCB) OS6 Style
  161. https://fett263.com/fett263-proffieOS6-style-library.html#BlankBlade
  162. OS6.7 v4.021
  163. Single Style
  164. Base Style: Blank Blade
  165.  
  166. Off Behavior: Luke ROTJ (Red Arrow)
  167.  
  168. Base Color: Rgb<255,255,255> (0)
  169.  
  170. --Effects Included--
  171. Ignition Effect: Fade Up
  172. Retraction Effect: Fade Out
  173. Lockup Effect: Full Blade Lockup (Dissipate)
  174. LightningBlock Effect: Full Blade Lightning
  175. Blast Effect: Blast Wave Up (Sound Based)
  176. Clash Effect: Flash on Clash (Full Blade)
  177. */
  178. StylePtr<Layers<Black,TransitionEffectL<TrWaveX<RgbArg<BLAST_COLOR_ARG,Rgb<255,255,255>>,Scale<WavLen<>,Int<100>,Int<400>>,Int<100>,Scale<WavLen<>,Int<100>,Int<400>>,Int<0>>,EFFECT_BLAST>,TransitionEffectL<TrConcat<TrJoin<TrDelay<30>,TrInstant>,RgbArg<CLASH_COLOR_ARG,Rgb<255,255,255>>,TrFade<300>>,EFFECT_CLASH>,LockupTrL<AudioFlickerL<RgbArg<LOCKUP_COLOR_ARG,Rgb<255,255,255>>>,TrConcat<TrInstant,RgbArg<LOCKUP_COLOR_ARG,Rgb<255,255,255>>,TrFade<400>>,TrConcat<TrInstant,AlphaL<RgbArg<LOCKUP_COLOR_ARG,Rgb<255,255,255>>,Int<0>>,TrWaveX<RgbArg<LOCKUP_COLOR_ARG,Rgb<255,255,255>>,Int<300>,Int<100>,Int<400>,Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<10000>>>,Scale<SwingSpeed<100>,Int<14000>,Int<18000>>>>>,SaberBase::LOCKUP_NORMAL>,LockupTrL<Strobe<RgbArg<LB_COLOR_ARG,Rgb<255,255,255>>,AudioFlicker<RgbArg<LB_COLOR_ARG,Rgb<255,255,255>>,Blue>,50,1>,TrInstant,TrFade<1000>,SaberBase::LOCKUP_LIGHTNING_BLOCK>,InOutTrL<TrFadeX<IgnitionTime<0>>,TrFadeX<RetractionTime<0>>,TransitionLoop<Black,TrConcat<TrDelay<3000>,RgbArg<OFF_COLOR_ARG,Rgb<255,255,255>>,TrBoing<2000,5>>>>>>(),
  179.  
  180. "Rescue"
  181. },
  182.  
  183. };
  184.  
  185. BladeConfig blades[] = {
  186. { 0, WS281XBladePtr<144, bladePin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin3> >(),
  187. SubBladeWithStride(0, 15, 2, WS281XBladePtr<16, blade2Pin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin3> >()),
  188. SubBladeWithStride(1, 15, 2, NULL),
  189. WS281XBladePtr<6, blade3Pin, Color8::GRB, PowerPINS<bladePowerPin4, bladePowerPin5> >(),
  190. WS281XBladePtr<1, blade4Pin, Color8::GRB, PowerPINS<bladePowerPin1> >(), SimpleBladePtr<CreeXPE2WhiteTemplate<550>, NoLED, NoLED, NoLED, freePin2, -1, -1, -1>(), SimpleBladePtr<CreeXPE2WhiteTemplate<550>, NoLED, NoLED, NoLED, freePin3, -1, -1, -1>()
  191. , CONFIGARRAY(presets) },
  192. };
  193.  
  194. #endif
  195.  
  196. #ifdef CONFIG_BUTTONS
  197. Button PowerButton(BUTTON_POWER, powerButtonPin, "pow");
  198. Button AuxButton(BUTTON_AUX, auxPin, "aux");
  199. #endif
  200.  
  201. /* Generated with Fett263 Config Helper v2.0 */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement