HID: Stub DisableAccelerometer and DisableGyroscopeLow

This commit is contained in:
purpasmart96
2015-05-22 15:55:27 -07:00
parent eca2b71fa8
commit 0c62b7b106
4 changed files with 47 additions and 9 deletions

View File

@ -162,12 +162,12 @@ const PadState PAD_CIRCLE_DOWN = {{1u << 31}};
* Outputs:
* 1 : Result of function, 0 on success, otherwise error code
* 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
* 6 : Event signaled by HID_User
* 3 : Handle to HID shared memory
* 4 : Event signaled by HID
* 5 : Event signaled by HID
* 6 : Event signaled by HID
* 7 : Gyroscope event
* 8 : Event signaled by HID_User
* 8 : Event signaled by HID
*/
void GetIPCHandles(Interface* self);
@ -180,6 +180,15 @@ void GetIPCHandles(Interface* self);
*/
void EnableAccelerometer(Interface* self);
/**
* HID::DisableAccelerometer service function
* Inputs:
* None
* Outputs:
* 1 : Result of function, 0 on success, otherwise error code
*/
void DisableAccelerometer(Interface* self);
/**
* HID::EnableGyroscopeLow service function
* Inputs:
@ -189,6 +198,15 @@ void EnableAccelerometer(Interface* self);
*/
void EnableGyroscopeLow(Interface* self);
/**
* HID::DisableGyroscopeLow service function
* Inputs:
* None
* Outputs:
* 1 : Result of function, 0 on success, otherwise error code
*/
void DisableGyroscopeLow(Interface* self);
/**
* HID::GetSoundVolume service function
* Inputs: