mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-17 14:45:45 -04:00
DigitalController: Add option to force as Pop'n Controller
This commit is contained in:
@ -37,6 +37,7 @@ public:
|
||||
static AxisList StaticGetAxisNames();
|
||||
static ButtonList StaticGetButtonNames();
|
||||
static u32 StaticGetVibrationMotorCount();
|
||||
static SettingList StaticGetSettings();
|
||||
|
||||
ControllerType GetType() const override;
|
||||
std::optional<s32> GetAxisCodeByName(std::string_view axis_name) const override;
|
||||
@ -54,6 +55,8 @@ public:
|
||||
|
||||
void SetButtonState(Button button, bool pressed);
|
||||
|
||||
void LoadSettings(const char* section) override;
|
||||
|
||||
private:
|
||||
enum class TransferState : u8
|
||||
{
|
||||
@ -67,4 +70,8 @@ private:
|
||||
u16 m_button_state = UINT16_C(0xFFFF);
|
||||
|
||||
TransferState m_transfer_state = TransferState::Idle;
|
||||
|
||||
bool m_popn_controller_mode = false;
|
||||
|
||||
u8 GetButtonsLSBMask() const;
|
||||
};
|
||||
|
Reference in New Issue
Block a user