mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-19 01:58:00 +00:00
HID: Added functions to emulate the touchpad.
This commit is contained in:
parent
3229b048d9
commit
1a904ded40
2 changed files with 61 additions and 0 deletions
|
@ -180,6 +180,19 @@ void PadButtonRelease(const PadState& pad_state);
|
|||
*/
|
||||
void PadUpdateComplete();
|
||||
|
||||
/**
|
||||
* Signal that the touchpad has been pressed
|
||||
* @param x Touchpad x-coordinate in bottom screen pixels (between 0 and 320)
|
||||
* @param y Touchpad y-coordinate in bottom screen pixels (between 0 and 240)
|
||||
*/
|
||||
void TouchPress(u16 x, u16 y);
|
||||
|
||||
/// Signal that touchpad has been released
|
||||
void TouchRelease();
|
||||
|
||||
/// Signal that touchpad updates have been completed
|
||||
void TouchUpdateComplete();
|
||||
|
||||
void HIDInit();
|
||||
void HIDShutdown();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue