I got confused why my button is firing twice, because i'm listening both to mouse/surface events in Kha.
But Kha doesn't report mouse events from surface anymore, if there is surface listeners: https://github.com/Kode/Kha/pull/1512/changes
Would be good to add same logic to kore mobile platforms to keep it consistent, for example there:
|
kore_internal_mouse_trigger_press(0, 0, x, y); |
I got confused why my button is firing twice, because i'm listening both to mouse/surface events in Kha.
But Kha doesn't report mouse events from surface anymore, if there is surface listeners: https://github.com/Kode/Kha/pull/1512/changes
Would be good to add same logic to kore mobile platforms to keep it consistent, for example there:
Kore/backends/system/android/sources/system.c
Line 152 in 999fc39