Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Standalone Directional Input actions and Addon buttons as GpioAction #1216

Merged
merged 12 commits into from
Nov 25, 2024

Conversation

mikepparks
Copy link
Contributor

First, this introduces several new GpioAction-based directional input values. These are intended to be standalone, meaning that they will work independently of their previous implementations which are based on either D-Pad Mode or DDI mode options.

  • D-Pad Up
  • D-Pad Down
  • D-Pad Left
  • D-Pad Right
  • Left Analog X+
  • Left Analog X-
  • Left Analog Y+
  • Left Analog Y-
  • Right Analog X+
  • Right Analog X-
  • Right Analog Y+
  • Right Analog Y-

Second, a number of Addons previously allocated pins for button/switch definitions. In order to streamline Addons, and allow more button functionality to be mapped into the Pin Mapper and Profiles, the following Addons have been updated. In order to use their functionality, the respective Addon will still need to be enabled, but they no longer require fields specifically to map a button for their use.

  • Input Reverse
  • Tilt Input
    • All pins intended for buttons to emulate their respective Analog Stick direction now use the new standalone Left/Right Analog input actions
    • Tilt 1 and Tilt 2 button definitions have been relocated to new Analog Stick Modifier Low and Analog Stick Modifier High actions
  • Focus Mode
    • Much like the SOCD switches being relocated to Actions in Pin Mapping, the Focus Mode pin is now a mappable Action

@mikepparks mikepparks marked this pull request as ready for review November 23, 2024 23:53
@mikepparks mikepparks changed the title [WIP] Standalone Directional Input actions and Addon buttons as GpioAction Standalone Directional Input actions and Addon buttons as GpioAction Nov 23, 2024
Copy link
Contributor

@arntsonl arntsonl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!!

@arntsonl arntsonl merged commit d61073e into OpenStickCommunity:main Nov 25, 2024
44 checks passed
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.

2 participants