core/frontend/emu_window: return true when TouchPressed is consumed
This commit is contained in:
parent
60235827c5
commit
666787bf4d
3 changed files with 6 additions and 4 deletions
|
@ -115,8 +115,9 @@ public:
|
|||
* Signal that a touch pressed event has occurred (e.g. mouse click pressed)
|
||||
* @param framebuffer_x Framebuffer x-coordinate that was pressed
|
||||
* @param framebuffer_y Framebuffer y-coordinate that was pressed
|
||||
* @returns True if the coordinates are within the touchpad, otherwise false
|
||||
*/
|
||||
void TouchPressed(unsigned framebuffer_x, unsigned framebuffer_y);
|
||||
bool TouchPressed(unsigned framebuffer_x, unsigned framebuffer_y);
|
||||
|
||||
/// Signal that a touch released event has occurred (e.g. mouse click released)
|
||||
void TouchReleased();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue