mirror of
https://git.planet-casio.com/Lephenixnoir/gint.git
synced 2025-04-19 01:16:56 +02:00
touch: provide coordinates of releases
This commit is contained in:
parent
46f1fb99d9
commit
696b0ca9c0
1 changed files with 2 additions and 0 deletions
|
@ -192,6 +192,8 @@ static key_event_t make_event(struct _touch_addots const *dots)
|
||||||
if(dots->touches != 1) {
|
if(dots->touches != 1) {
|
||||||
if(prev_type != KEYEV_TOUCH_UP && prev_type != KEYEV_NONE)
|
if(prev_type != KEYEV_TOUCH_UP && prev_type != KEYEV_NONE)
|
||||||
evt.type = KEYEV_TOUCH_UP;
|
evt.type = KEYEV_TOUCH_UP;
|
||||||
|
evt.x = prev_x;
|
||||||
|
evt.y = prev_y;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if(prev_type == KEYEV_TOUCH_UP || prev_type == KEYEV_NONE)
|
if(prev_type == KEYEV_TOUCH_UP || prev_type == KEYEV_NONE)
|
||||||
|
|
Loading…
Add table
Reference in a new issue