4 set swap holding only 2 buttons

Post Reply
Oke_Doke
Xpadder Xpert
Posts: 327
Joined: 21 Dec 2009, 16:17
Location: jupiter
Contact:

4 set swap holding only 2 buttons

Post by Oke_Doke »

Here is a basic setup for a controller that can switch between sets 1-4 by simply holding to two buttons.

Code: Select all

;--- Xpadder Profile Data ---
Version=2010.03.18
Name=(Untitled profile)
Set1Button5Toggle=1
Set1Button5Turbo=1
Set1Button5SetSelect=1
Set1Button6Toggle=1
Set1Button6Turbo=1
Set1Button6SetSelect=2
Set2Button5Toggle=1
Set2Button5SetSelect=0
Set2Button6Toggle=1
Set2Button6Turbo=1
Set2Button6SetSelect=3
Set3Button5Toggle=1
Set3Button5Turbo=1
Set3Button5SetSelect=3
Set3Button6Toggle=1
Set3Button6SetSelect=0
Set4Button5Toggle=1
Set4Button5SetSelect=2
Set4Button6Toggle=1
Set4Button6SetSelect=1
Buttons 5 and 6 happen to be the "L1/R1" shoulder buttons on my controller. you can adapt this to suit your situation.
USE:
  • Holding Button5 switches to set 2,
    Holding Button6 switches to set 3,
    Holding both switches to set 4.
    Release buttons separately to return to set 1.*
*minor issue:
Wrong set on release:
  • -Occurrence: "Not Uncommon": 50% chance if both buttons are released at the exact same time.
    +Prevention: release these buttons separately (over 1/5th of a second apart).
    +How to Reset: tapping button 5 then 6 or vice versa switches to set 1.
    +Note: I recommend getting familiar with this issue before use, by randomly pressing these buttons while watching the Xpadder window. Any solution to this issue is welcome.
EDIT: The proposed 1000hz core loop would solve most set switching conflicts. Or at least greatly reduce the chances of them happening.

Post Reply

Return to “Sets”