Skip to content

Add ability to toggle DPad mode in web-config while in USBHID input mode - #1750

Open
TheTrainGoes wants to merge 1 commit into
mainfrom
20261006-Add-selection-for-USBHID-DPAD-modes
Open

TheTrainGoes wants to merge 1 commit into
mainfrom
20261006-Add-selection-for-USBHID-DPAD-modes

Conversation

@TheTrainGoes

Copy link
Copy Markdown
Contributor

This PR adds a simple toggle into USBHID mode that allows you to choose between DPad Hat + Buttons, Hat only or Buttons only.

The default will remain Hat + Buttons as it is now.

A new define has also been added for any makers that want to change this:

#define DEFAULT_GENERIC_DPAD_MODE GENERIC_DPAD_HAT_AND_BUTTONS
GENERIC_DPAD_HAT_AND_BUTTONS
GENERIC_DPAD_HAT_ONLY
GENERIC_DPAD_BUTTONS_ONLY

This PR adds a simple toggle into USBHID mode that allows you to choose between DPad Hat + Buttons, Hat only or Buttons only.

The default will remain Hat + Buttons as it is now.

A new define has also been added for any makers that want to change this:

#define DEFAULT_GENERIC_DPAD_MODE GENERIC_DPAD_HAT_AND_BUTTONS
GENERIC_DPAD_HAT_AND_BUTTONS
GENERIC_DPAD_HAT_ONLY
GENERIC_DPAD_BUTTONS_ONLY

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

USBHID/"Generic" input mode registers d-pad inputs as both d-pad AND buttons

1 participant