mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 14:19:55 -06:00
Implement Rumble Pak support. (#2101)
This commit is contained in:
@ -127,6 +127,8 @@ public:
|
||||
void inputInit();
|
||||
void inputDeInit();
|
||||
void inputLoadConfig();
|
||||
void inputRumbleStart(melonDS::u32 len_ms);
|
||||
void inputRumbleStop();
|
||||
|
||||
void setJoystick(int id);
|
||||
int getJoystickID() { return joystickID; }
|
||||
@ -291,6 +293,9 @@ private:
|
||||
|
||||
int joystickID;
|
||||
SDL_Joystick* joystick;
|
||||
SDL_GameController* controller;
|
||||
bool hasRumble = false;
|
||||
bool isRumbling = false;
|
||||
|
||||
melonDS::u32 keyInputMask, joyInputMask;
|
||||
melonDS::u32 keyHotkeyMask, joyHotkeyMask;
|
||||
|
Reference in New Issue
Block a user