Skip to content

Commit

Permalink
add ASSIGNED_TO_ADDON and remove unused button
Browse files Browse the repository at this point in the history
  • Loading branch information
MegaBitmap committed Aug 2, 2024
1 parent d0a7ac3 commit 54e5eb5
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions configs/PXPGamepad/BoardConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@
#define GPIO_PIN_10 GpioAction::BUTTON_PRESS_S2 // S2 | Start | Plus | Start | 10 | Start |
#define GPIO_PIN_07 GpioAction::BUTTON_PRESS_L3 // L3 | LS | LS | L3 | 11 | LS |
#define GPIO_PIN_08 GpioAction::BUTTON_PRESS_R3 // R3 | RS | RS | R3 | 12 | RS |
#define GPIO_PIN_24 GpioAction::BUTTON_PRESS_A1 // A1 | Guide | Home | PS | 13 | ~ |
#define GPIO_PIN_25 GpioAction::BUTTON_PRESS_A2 // A2 | ~ | Capture | ~ | 14 | ~ |

// Keyboard Mapping Configuration
// // GP2040 | Xinput | Switch | PS3/4/5 | Dinput | Arcade |
Expand All @@ -54,6 +52,13 @@
#define KEY_BUTTON_A2 HID_KEY_F2 // A2 | ~ | Capture | ~ | 14 | ~ |
#define KEY_BUTTON_FN -1 // Hotkey Function |

// Setting GPIO pins to assigned by add-on
//
#define GPIO_PIN_26 GpioAction::ASSIGNED_TO_ADDON
#define GPIO_PIN_27 GpioAction::ASSIGNED_TO_ADDON
#define GPIO_PIN_28 GpioAction::ASSIGNED_TO_ADDON
#define GPIO_PIN_29 GpioAction::ASSIGNED_TO_ADDON

// Analog Configuration
//
#define ANALOG_INPUT_ENABLED 1
Expand Down

0 comments on commit 54e5eb5

Please sign in to comment.