Implement Rumble Pak support. (#2101)

This commit is contained in:
BueniaDev
2024-07-21 10:01:30 -05:00
committed by GitHub
parent 5eadd67df6
commit 9b828c2cde
10 changed files with 141 additions and 4 deletions

View File

@ -316,6 +316,17 @@ void Camera_Start(int num, void* userdata);
void Camera_Stop(int num, void* userdata);
void Camera_CaptureFrame(int num, u32* frame, int width, int height, bool yuv, void* userdata);
// interface for addon inputs
// Called by the DS Rumble Pak emulation to start the necessary
// rumble effects on the connected game controller, if available.
// @param len The duration of the controller rumble effect in milliseconds.
void Addon_RumbleStart(u32 len, void* userdata);
// Called by the DS Rumble Pak emulation to stop any necessary
// rumble effects on the connected game controller, if available.
void Addon_RumbleStop(void* userdata);
struct DynamicLibrary;
/**