mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-26 15:50:00 -06:00
Implement Rumble Pak support. (#2101)
This commit is contained in:
@ -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;
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user