mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 13:49:53 -06:00
Virtual Notch settings and UI for octagonal stick
This commit is contained in:
@ -15,6 +15,9 @@
|
||||
|
||||
namespace ControllerEmu
|
||||
{
|
||||
// Minimum stick distance from the center before virtual notches are applied.
|
||||
constexpr ControlState MINIMUM_NOTCH_DISTANCE = 0.9;
|
||||
|
||||
// An abstract class representing the plastic shell that limits an analog stick's movement.
|
||||
class StickGate
|
||||
{
|
||||
@ -85,6 +88,8 @@ public:
|
||||
|
||||
ControlState GetDeadzonePercentage() const;
|
||||
|
||||
virtual ControlState GetVirtualNotchSize() const { return 0.0; };
|
||||
|
||||
virtual ControlState GetGateRadiusAtAngle(double angle) const = 0;
|
||||
virtual ReshapeData GetReshapableState(bool adjusted) = 0;
|
||||
virtual ControlState GetDefaultInputRadiusAtAngle(double ang) const;
|
||||
|
Reference in New Issue
Block a user