mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-18 04:57:54 +00:00
HID: Moved some docstrings to the header.
This commit is contained in:
parent
83a66dd701
commit
3229b048d9
2 changed files with 16 additions and 24 deletions
|
@ -162,9 +162,22 @@ const PadState PAD_CIRCLE_DOWN = {{1u << 31}};
|
|||
*/
|
||||
void GetIPCHandles(Interface* self);
|
||||
|
||||
// Methods for updating the HID module's state
|
||||
/**
|
||||
* Sets a Pad state (button or button combo) as pressed
|
||||
* @param pad_state PadState data indicating which buttons have been pressed
|
||||
*/
|
||||
void PadButtonPress(const PadState& pad_state);
|
||||
|
||||
/**
|
||||
* Sets a Pad state (button or button combo) as released
|
||||
* @param pad_state PadState data indicating which buttons have been released
|
||||
*/
|
||||
void PadButtonRelease(const PadState& pad_state);
|
||||
|
||||
/**
|
||||
* Called after all Pad changes to be included in this update have been made, including both Pad
|
||||
* key changes and analog circle Pad changes.
|
||||
*/
|
||||
void PadUpdateComplete();
|
||||
|
||||
void HIDInit();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue