Skip to content

Commit

Permalink
Merge branch 'next'
Browse files Browse the repository at this point in the history
  • Loading branch information
Electronicks committed May 28, 2021
2 parents c907d7c + a3fb475 commit cdcc3c7
Show file tree
Hide file tree
Showing 4 changed files with 184 additions and 156 deletions.
22 changes: 11 additions & 11 deletions JoyShockMapper/include/JoyShockMapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,6 @@ enum class ButtonID
LEAN_LEFT,
LEAN_RIGHT,
MIC,
TOUCH, // Touch anywhere on the touchpad
ZLF, // = FIRST_ANALOG_TRIGGER
CAPTURE, // Full press of touchpad touch + press
// insert more analog triggers here
ZRF, // = LAST_ANALOG_TRIGGER

LUP,
LDOWN,
LLEFT,
Expand All @@ -126,16 +120,22 @@ enum class ButtonID
MLEFT,
MRIGHT,
MRING,
TOUCH, // Touch anywhere on the touchpad
ZLF, // = FIRST_ANALOG_TRIGGER
CAPTURE, // Full press of touchpad touch + press
// insert more analog triggers here
ZRF, // = LAST_ANALOG_TRIGGER

SIZE, // Not a button

// Virtual buttons configured on the touchpad. The number of buttons vary dynamically, but they each need a different ID
TUP, // FIRST_TOUCH_BUTTON
TUP,
TDOWN,
TLEFT,
TRIGHT,
TRING,
T1,

SIZE, // Not a button

// Virtual buttons configured on the touchpad. The number of buttons vary dynamically, but they each need a different ID
T1, // FIRST_TOUCH_BUTTON
T2,
T3,
T4,
Expand Down
5 changes: 5 additions & 0 deletions JoyShockMapper/src/ButtonHelp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,9 @@ const map<ButtonID, string> buttonHelpMap{
{ ButtonID::MIC, "PS5 microphone button" },
{ ButtonID::ZLF, "Full pull binding of left trigger, only on controllers with analog triggers" },
{ ButtonID::ZRF, "Full pull binding of right trigger, only on controllers with analog triggers" },
{ ButtonID::TUP, "Touch stick tilted forward" },
{ ButtonID::TDOWN, "Touch stick tilted back" },
{ ButtonID::TLEFT, "Touch stick tilted left" },
{ ButtonID::TRIGHT, "Touch stick tilted right" },
{ ButtonID::TRING, "Touch ring binding, either inner or outer." },
};
Loading

0 comments on commit cdcc3c7

Please sign in to comment.