Lil__Nicky

Untitled

Mar 9th, 2022
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.58 KB | None | 0 0
  1.  
  2. ---------- 1 Button Controls (based on SA22C prop) ----------
  3. NOTE:
  4. Click = do short click (so Double Click is two short clicks in quick succession)
  5. Long Click = hold button for 1 second and release
  6. Hold = hold button down
  7. Click and Hold = hold on Xth click (so Double Click and Hold would be click twice and hold on second)
  8. Click + Long Click = do X clicks then do long click (so Double Click + Long Click would be click twice then do a long click)
  9.  
  10. Standard Controls While Blade is OFF
  11. Turn On / Ignite Saber* = Click PWR
  12. *If FETT263_MOTION_WAKE_POWER_BUTTON defined first Click will Wake up motion detection and boot sound will play
  13. NEW Control! Turn On / Ignite Saber (Muted) = Click + Long Click PWR
  14. NEW Control! Start / Stop Tracks = Double Click PWR (pointing straight up)
  15. NEW! Track Player* = Double Click PWR (parallel or down)
  16. *if only default track exists in current preset, track will "Loop"
  17. Turn Right (Stepped) = Next Track
  18. Turn Left (Stepped) = Previous Track
  19. Click PWR = Play Current Track Once
  20. Hold PWR = Random (will play current track and then randomly select next tracks)
  21. Hold PWR + Turn Right = Rotate (will play current track and then next sequential tracks)
  22. Hold PWR + Turn Left = Loop Current Track
  23. NEW! Toggle Gesture Sleep* = Hold PWR + Twist
  24. *toggles gesture controls on/off
  25. *gestures sleep automatically if Blade Detect is enabled and blade is missing
  26. Next Preset = Long Click PWR (parallel or up)
  27. NEW Control! Previous Preset = Long Click PWR (pointing down)
  28. NEW! Scroll Presets (using twist menu) = Hold PWR
  29. Turn Right (Stepped) = Next Preset
  30. Increment by 5 = Hold PWR + Turn Right
  31. Turn Left (Stepped) = Previous Preset
  32. Increment by 5 = Hold PWR + Turn Left
  33. Click PWR = Select Preset
  34. Long Click PWR = First Preset
  35. NEW Control! Volume Menu = Hold PWR + Clash
  36. Turn Right (Stepped) = Increase Volume (to max)
  37. Turn Left (Stepped) = Decrease Volume (to min)
  38. Click PWR = Exit
  39. NEW Control! Battery Level = Double Click + Long Click PWR
  40. NEW! Change Font
  41. Next Font = Triple Click + Long Click PWR (parallel or up)
  42. Previous Font = Triple Click + Long Click PWR (down)
  43. NEW! Copy Preset = Quadruple (Four) Click + Hold PWR
  44.  
  45. Optional Gesture Controls (if enabled and Gesture Sleep is deactivated)
  46. Ignite Saber
  47. Swing On
  48. Stab On
  49. Twist On
  50. Thrust On
  51.  
  52. Standard Controls While Blade is ON
  53. Turn Off / Retract Blade = Hold PWR
  54. Clash Effect = Clash Saber
  55. Lockup Effect = Hold PWR + Clash
  56. Stab Effect = Stab (thrust with impact at tip of blade)
  57. NEW Control! Drag Effect = Hold PWR + Stab (pointing straight down)
  58. Melt Effect = Hold PWR + Stab (parallel or up)
  59. Lightning Block = Double Click and Hold PWR
  60. Blast Effect = Click / Double Click / Triple Click PWR
  61. Multi-Blast Mode = Hold PWR + Swing
  62. Each Swing in Multi-Blast Mode will deflect Blast effect
  63. To exit, click PWR or do Clash
  64. NEW! Force/Quote = Long Click PWR
  65. If pointing down will toggle Force/Quote mode and do Force Effect or play Quote accordingly
  66. *Quote plays sequentially
  67. If parallel will do Force/Quote
  68. NEW! Stop Track* - Double Click PWR
  69. *if track is playing while ON
  70. To start/select track saber must be OFF
  71. NEW Control! Color Change = 4 Clicks PWR (parallel or down)
  72. Rotate Hilt to select color (unless ColorChange<> style is used with COLOR_CHANGE_DIRECT*)
  73. If styles use Edit Mode Color Editing styles, Color List is used
  74. If styles use ColorChange<> then colors within the style are used
  75. *if COLOR_CHANGE_DIRECT is defined then each click will change color instead of turn
  76. Otherwise ColorWheel is used per style set up.
  77. Click PWR to save
  78. NEW! Color Zoom* = Double Click and Hold PWR, Release to Save
  79. *For Color List or ColorWheel you can Hold PWR down to zoom in color for easier selection
  80. Release PWR to save
  81. NEW! Power Save* = 4 Clicks PWR (pointing straight up)
  82. *requires EFFECT_POWERSAVE in style
  83. Multi-Phase Preset Change*
  84. *requires FETT263_MULTI_PHASE define
  85. Hold PWR + Twist (parallel or up) = Next Preset
  86. Hold PWR + Twist (pointing down) = Previous Preset
  87. NEW! Change Style (All Blades)
  88. Next Style = Triple Click + Long Click PWR (parallel or up)
  89. Previous Style = Triple Click + Long Click PWR (down)
  90.  
  91. Optional Gesture Controls (if enabled)
  92. Retract Blade
  93. Twist Off
  94.  
  95. "Battle Mode" Controls* - While ON
  96. *may vary by defines
  97. Enter/Exit Battle Mode = Triple Click and Hold PWR
  98. Clash / Lockup = controlled by gesture
  99. Clash blade
  100. If blade swings through the clash it will do a "glancing Clash"
  101. If using FETT263_BM_CLASH_DETECT 6 define (Battle Mode 2.0) normal clash used for hits below the
  102. FETT263_BM_CLASH_DETECT value (1 ~ 8), if undefined or equal to 0 then Battle Mode 1.0 is used.
  103. If blade stops/slows on clash the saber will initiate Begin Lockup
  104. To perform a "clash" do an immediate Pull Away this will transition from Begin Lockup to End Lockup in quick succession
  105. To Lockup, steady the blade after Clash
  106. To end Lockup do Pull Away
  107. Drag / Melt = controlled by gesture
  108. Stab (thrust with impact at tip of blade)
  109. If pointing down Drag will initiate
  110. To end Drag pull blade up from floor at an angle
  111. If parallel or up Melt will initiate
  112. To end Melt pull blade away from object at an angle
  113. Blast Effect = Click PWR
  114. NEW! swing within 2 seconds to enter Multi-Blast Mode
  115. Lightning Block = Double Click and Hold PWR
  116. Force Push* = Push Saber
  117. *requires FETT263_FORCE_PUSH
  118.  
  119. Rehearsal / Choreography Modes*
  120. *requires FETT263_SAVE_CHOREOGRAPHY define
  121. Begin Rehearsal** = While Off, Triple Click and Hold PWR
  122. **If a Saved Rehearsal Exists it will prompt you to "Replace?"
  123. To confirm Turn the hilt Right (Clockwise) to "Accept" and Click PWR to begin a new Rehearsal
  124. To keep saved rehearsal Click AUX and Rehearsal Mode will be cancelled.
  125. Saber will Ignite in Rehearsal Mode
  126. In Rehearsal Mode, standard Clash and Lockup controls are used to record sequence
  127. Clash = Clash
  128. Hold PWR + Clash = Lockup
  129. Rehearsal will also record the sound files used for each effect to repeat in Choreography
  130. Cancel Rehearsal Mode = Triple Click and Hold PWR
  131. Save Rehearsal = Hold PWR
  132. Begin Choreography = While Off, Hold PWR + Swing
  133. During Choreography Mode Clashes, Lockups and sound files are replayed in sequence
  134. When recorded sequence completes the saber goes into Battle Mode automatically
  135. If no saved rehearsal is available for font saber will ignite in Battle Mode*
  136. *may vary by define
  137. End Choreography = Hold PWR
  138.  
  139. Edit Mode*
  140. *requires FETT263_EDIT_MODE_MENU & ENABLE_ALL_EDIT_OPTIONS defines
  141. *requires /common folder with all menu prompt sounds
  142. Enter Edit Mode = While Off, Double Click and Hold PWR
  143. If menu prompt wav files are missing from preset you will get "Error in Font Directory" warning, refer to Edit Mode setup and requirements
  144.  
  145. While in Edit Mode controls are as follows:
  146. Rotate Forward, Increase Value, Confirm "Yes" = Turn Right (Stepped)
  147. Increment by 5 (Fonts, Tracks, Blade Length) = Hold PWR + Turn Right
  148. Rotate Back, Decrease Value, Confirm "No" = Turn Left (Stepped)
  149. Increment by 5 (Fonts, Tracks, Blade Length) = Hold PWR + Turn Right
  150. Select, Save, Enter = Click PWR
  151. Cancel, Revert, Go Back = Long Click PWR
  152. Go to Main Menu (from sub-menu) - Hold PWR
  153. Exit Edit Mode - Hold PWR (or rotate to "Exit") while in Main Menu
  154.  
  155. "Edit Color" Additional Control
  156. "Color List" and "Adjust Color Hue" Zoom Mode = Double Click and Hold PWR while turning to Zoom color in, release to save
  157.  
  158. ---------- || ----------
  159.  
  160. OPTIONAL DEFINES (added to CONFIG_TOP in config.h file)
  161.  
  162. FETT263_EDIT_MODE_MENU
  163. Enable Edit Mode Menu System
  164. Requires ENABLE_ALL_EDIT_OPTIONS
  165.  
  166. FETT263_SAVE_CHOREOGRAPHY
  167. Enables Enhanced Battle Mode with Saved Choreography
  168.  
  169. FETT263_DUAL_MODE_SOUND
  170. Enables odd/even out.wav ignition sound selection based on blade angle
  171. Up = odd number sounds, Down = even numbered sounds
  172.  
  173. FETT263_CLASH_STRENGTH_SOUND
  174. Enables selection of clash, stab and lockup sounds based on clash strength
  175. Light clash = 01.wav, Hard clash = highest number.wav
  176.  
  177. FETT263_MAX_CLASH 16
  178. The value for hardest clash level to select clash sound
  179. Range 8 ~ 16
  180.  
  181. FETT263_SAY_COLOR_LIST
  182. Spoken Color Names replace default sounds during Color List Mode (requires .wav files)
  183.  
  184. FETT263_SAY_COLOR_LIST_CC
  185. Spoken Color Names replace default sounds during Color Change "CC" Color List Mode (requires .wav files)
  186.  
  187. FETT263_SAY_BATTERY_VOLTS
  188. Spoken Battery Level as volts during On Demand Battery Level effect (requires .wav files)
  189.  
  190. FETT263_SAY_BATTERY_PERCENT
  191. Spoken Battery Level as percent during On Demand Battery Level effect (requires .wav files)
  192.  
  193. == BATTLE MODE OPTIONS ==
  194. Battle Mode is enabled via controls by default in this prop, you can customize further with these defines
  195.  
  196. FETT263_BATTLE_MODE_ALWAYS_ON - Battle Mode is always on, toggle controls deactivated
  197. This will disable traditional Clash and Stab effects (cannot be used with FETT263_BATTLE_MODE_START_ON)
  198.  
  199. FETT263_BATTLE_MODE_START_ON - Battle Mode is active with each ignition by default but can be toggled using Aux + Swing control
  200. (cannot be used with FETT263_BATTLE_MODE_ALWAYS_ON)
  201.  
  202. FETT263_LOCKUP_DELAY 200
  203. This is the "delay" in millis to determine Clash vs Lockup
  204.  
  205. FETT263_BM_CLASH_DETECT 6
  206. The max value to use clashes in Battle Mode 2.0, clashes used on clash strength below this value
  207. This allows light clashes to produce clash effects instead of using Begin/End Lockup
  208. (above this value Clash is performed by quick pull away using Begin/End Lockup sounds and effect)
  209. Range 0 ~ 8 (note 0 will use Battle Mode 1.0 with all clashes being Begin/End Lockup)
  210.  
  211. FETT263_BM_DISABLE_OFF_BUTTON
  212. During Battle Mode Power Button Retraction is disabled for normal 2 button control
  213.  
  214. == Swing On ==
  215. Gesture Ignition via Swing
  216. You can use one of the following defines to enable swing on:
  217.  
  218. FETT263_SWING_ON - To enable Swing On Ignition control (automatically enters Battle Mode, uses Fast On)
  219.  
  220. FETT263_SWING_ON_PREON - Disables Fast On ignition for Swing On so Preon is used (cannot be used with FETT263_SWING_ON)
  221.  
  222. FETT263_SWING_ON_NO_BM - To enable Swing On Ignition control but not activate Battle Mode
  223. (Combine with FETT263_SWING_ON or FETT263_SWING_ON_PREON,
  224. cannot be used with FETT263_BATTLE_MODE_ALWAYS_ON or FETT263_BATTLE_MODE_START_ON)
  225.  
  226. FETT263_SWING_ON_SPEED 250
  227. Adjust Swing Speed required for Ignition 250 ~ 500 recommended
  228.  
  229. == Twist Off ==
  230. Gesture Retraction via Twist (back and forth)
  231.  
  232. FETT263_TWIST_OFF
  233. To enable Twist Off Retraction control
  234.  
  235. == Twist On ==
  236. Gesture Ignition via Twist (back and forth)
  237. You can use one of the following defines to enable twist on:
  238.  
  239. FETT263_TWIST_ON - To enable Twist On Ignition control (automatically enters Battle Mode, uses Fast On)
  240.  
  241. FETT263_TWIST_ON_PREON - Disables Fast On ignition for Twist On so Preon is used (cannot be used with FETT263_TWIST_ON)
  242.  
  243. FETT263_TWIST_ON_NO_BM - To enable Twist On Ignition control but not activate Battle Mode
  244. (Combine with FETT263_TWIST_ON or FETT263_TWIST_ON_PREON,
  245. cannot be used with FETT263_BATTLE_MODE_ALWAYS_ON or FETT263_BATTLE_MODE_START_ON)
  246.  
  247. == Stab On ==
  248. Gesture Ignition via Stab (linear movement + clash at tip of blade)
  249. You can use one of the following defines to enable stab on:
  250.  
  251. FETT263_STAB_ON - To enable Stab On Ignition control (automatically enters Battle Mode, uses Fast On)
  252.  
  253. FETT263_STAB_ON_PREON - Disables Fast On ignition for Stab On so Preon is used (cannot be used with FETT263_STAB_ON)
  254.  
  255. FETT263_STAB_ON_NO_BM - To enable Stab On Ignition control but not activate Battle Mode
  256. (Combine with FETT263_STAB_ON or FETT263_STAB_ON_PREON,
  257. cannot be used with FETT263_BATTLE_MODE_ALWAYS_ON or FETT263_BATTLE_MODE_START_ON)
  258.  
  259. == Thrust On ==
  260. Gesture Ignition via Thrust (linear movement)
  261. You can use one of the following defines to enable thrust on:
  262.  
  263. FETT263_THRUST_ON - To enable Thrust On Ignition control (automatically enters Battle Mode, uses Fast On)
  264.  
  265. FETT263_THRUST_ON_PREON - Disables Fast On ignition for Thrust On so Preon is used (cannot be used with FETT263_THRUST_ON)
  266.  
  267. FETT263_THRUST_ON_NO_BM - To enable Thrust On Ignition control but not activate Battle Mode
  268. (Combine with FETT263_THRUST_ON or FETT263_THRUST_ON_PREON,
  269. cannot be used with FETT263_BATTLE_MODE_ALWAYS_ON or FETT263_BATTLE_MODE_START_ON)
  270.  
  271. == Gesture Sleep ==
  272. Toggle Gesture Ignition and Retraction detection to disable or enable gesture options
  273.  
  274. FETT263_SAVE_GESTURE_OFF - Save "Gesture Sleep" setting to turn gesture ignitions and retractions off on boot
  275.  
  276. == Force Push ==
  277. Push movement triggers push.wav (or force.wav if push.wav is not present)
  278. You can use one of the following defines to enable force push:
  279.  
  280. FETT263_FORCE_PUSH - To enable gesture controlled Force Push during Battle Mode
  281. (will use push.wav or force.wav if not present)
  282.  
  283. FETT263_FORCE_PUSH_ALWAYS_ON - To enable gesture controlled Force Push full time
  284. (will use push.wav or force.wav if not present)
  285.  
  286. FETT263_FORCE_PUSH_LENGTH 5 - Allows for adjustment to Push gesture length in millis needed to trigger Force Push
  287. Recommended range 1 ~ 10, 1 = shortest, easiest to trigger, 10 = longest
  288.  
  289. FETT263_MULTI_PHASE
  290. This will enable a preset change while ON to create a "Multi-Phase" saber effect
  291.  
  292. MOTION_TIMEOUT 60 * 15 * 1000
  293. This extends the motion timeout to 15 minutes to allow gesture ignition to remain active
  294. Increase/decrease the "15" value as needed
  295.  
  296. FETT263_MOTION_WAKE_POWER_BUTTON
  297. Enables a click on POWER Button to Wake Up Gestures after MOTION_TIMEOUT without igniting blade.
  298. Saber will play boot sound and gestures will be active.
  299.  
  300. FETT263_QUOTE_PLAYER_START_ON
  301. This will set Force / Quote Player to play Quote by default (if in font)
  302.  
  303. == SA22C 2 Button Variations ==
  304. FETT263_HOLD_BUTTON_OFF - Changes to Hold PWR to turn Off / Retract
  305.  
  306. FETT263_HOLD_BUTTON_LOCKUP - Enables Hold AUX for Lockup*
  307. Cannot be used with FETT263_SAVE_CHOREOGRAPHY
  308. *Clash Strength / Clash Impact effects and sounds for Lockup negated
  309. *Battle Mode control changes to hold AUX + Swing
  310.  
Advertisement
Add Comment
Please, Sign In to add comment