mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-20 05:57:53 +00:00
HID: Proper Signal Interrupts for EnableAccelerometer & EnableGyroscopeLow along
with a stub for GetSoundVolume
This commit is contained in:
parent
ed5b275d21
commit
5b1757d6a5
4 changed files with 72 additions and 12 deletions
|
@ -161,7 +161,7 @@ const PadState PAD_CIRCLE_DOWN = {{1u << 31}};
|
|||
* None
|
||||
* Outputs:
|
||||
* 1 : Result of function, 0 on success, otherwise error code
|
||||
* 2 : Unused
|
||||
* 2 : IPC Command Structure translate-header
|
||||
* 3 : Handle to HID_User shared memory
|
||||
* 4 : Event signaled by HID_User
|
||||
* 5 : Event signaled by HID_User
|
||||
|
@ -171,6 +171,34 @@ const PadState PAD_CIRCLE_DOWN = {{1u << 31}};
|
|||
*/
|
||||
void GetIPCHandles(Interface* self);
|
||||
|
||||
/**
|
||||
* HID::EnableAccelerometer service function
|
||||
* Inputs:
|
||||
* None
|
||||
* Outputs:
|
||||
* 1 : Result of function, 0 on success, otherwise error code
|
||||
*/
|
||||
void EnableAccelerometer(Interface* self);
|
||||
|
||||
/**
|
||||
* HID::EnableGyroscopeLow service function
|
||||
* Inputs:
|
||||
* None
|
||||
* Outputs:
|
||||
* 1 : Result of function, 0 on success, otherwise error code
|
||||
*/
|
||||
void EnableGyroscopeLow(Interface* self);
|
||||
|
||||
/**
|
||||
* HID::GetSoundVolume service function
|
||||
* Inputs:
|
||||
* None
|
||||
* Outputs:
|
||||
* 1 : Result of function, 0 on success, otherwise error code
|
||||
* 2 : u8 output value
|
||||
*/
|
||||
void GetSoundVolume(Interface* self);
|
||||
|
||||
/// Checks for user input updates
|
||||
void HIDUpdate();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue