OpenStickCommunity/GP2040-CE

PS Touchpad coordinates on button presses as actions

mikepparks opened this issue · 1 comments

Currently, our touchpad implementation sends the button state when pressed, but does not send any positioning data, opting to set the state as untouched. It's unknown whether this would cause undesired behavior in some games, but for current uses, there may be value including some sort of positioning data when the button is pressed. A known implementation of this defines regions for the position coordinates based on the state of the D-Pad, but that could pose some additional behavior defects. For example:

  • D-Pad Neutral + TP = Center of Touchpad
  • D-Pad Left + TP = Left of Touchpad
  • D-Pad Right + TP = Right of Touchpad

A proposed means of implementing this would be to set different "actions" that could be bound to button presses instead, avoiding the need for a hotkey or macro dependency.

  • Neutral - Current Touchpad behavior
  • Left
  • Right
  • Center

Hey, i'd like to also request this enhancement if possible.

With the current implementation, PS1 and PS2 Classics on PS4 are completely unplayable with a GP2040-CE controller. Sony's implementation of the PS1 and PS2 classics require both a Left and a Right Touchpad input instead of the neutral one that is currently used. Left Touchpad is the "Select" button while Right Touchpad is the "Start" button.

The PS1 and PS2 Classics versions of Tekken 1, Tekken 2, and The King of Fighters 2000 are not able to be started at all due to their requirement of pressing Start instead of the usual pressing of X/Cross.

A feature like this will allow the GP2040-CE to become even closer to feature parity with the Brooks UFB.