Lil__Nicky

Untitled

Feb 17th, 2022
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.17 KB | None | 0 0
  1. // sa22c props file, includes 1,2 and 3 button modes. Incorporates multi-blast
  2. // by fett263, gesture ignition by ShtokyD, on-the-fly volume controls and
  3. // full access to all features with 1,2 or 3 button sabers
  4. //
  5. // New #define SA22C_NO_LOCKUP_HOLD
  6. // reverts to lockup being triggered only by clash + aux in 2-button mode
  7. // Also sets multi-blast to trigger while holding aux and swinging, rather than
  8. // double click and hold
  9. //
  10. // Gesture ignition
  11. // if you add #define SHTOK_GESTURE_IGNITION to your config file, you can
  12. // turn on the saber using the stab motion, and turn off with a twist.
  13. //
  14. // Tightened click timings
  15. // I've shortened the timeout for short and double click detection from 500ms
  16. // to 300ms. I think it feels more responsive this way but still gives enough
  17. // timeout to ensure all button actions can be achieved consistently
  18. // I've included all button timings so they can be easily tweaked to suit
  19. // individual tastes.
  20. //
  21. // Button configs:
  22. //
  23. // 1 Button:
  24. // Activate Muted - double click and hold while OFF
  25. // Activate - short click while OFF
  26. // Play/Stop Music - double click while OFF
  27. // Turn off blade - hold and wait till blade is off while ON
  28. // Next Preset - hold and release while OFF
  29. // Prev Preset - hold and wait while OFF
  30. // Lockup - hold + hit clash while ON
  31. // Stab - thrust forward clash while ON
  32. // Lightning Block - double click and hold while ON
  33. // Melt - hold + thust forward clash while ON
  34. // Drag - hold + hit clash while ON pointing the blade tip down
  35. // Blaster Blocks - short click/double click/triple click while on
  36. // Multi-Blast - hold while swinging for one second and release
  37. // to trigger blaster block, swing saber while in multi-blast mode
  38. // to exit, hold while swinging for one second and release
  39. // Force Effects - hold + twist the hilt while ON (while pointing up)
  40. // Color Change mode - hold + twist the hilt while ON (pointing down)
  41. // Enter Volume - Menu hold + clash while OFF
  42. // Volume UP - hold and release while in Volume Menu
  43. // Volume DOWN - click while in Volume Menu
  44. // Exit Volume Menu - Menu hold + clash while OFF
  45. // Battery Level - triple click while OFF
  46. //
  47. //
Advertisement
Add Comment
Please, Sign In to add comment