when mouse events trigger touch events, then the mouse button info should be transferred too. this way we would not need to handle mouse and touch separately even if mouse button info is needed (in case it is present).
@keszegh You mean that in html or computer (PC, mac) does not deploy the functions of the our app that has been created with gideros, when the mouse cursor goes through the menu bar (our app) for example.
i mean that (if i'm not mistaken) you can listen to mouse events and touch events. if you set up project such that mouse events also trigger touch events then your app needs to handle only touch events and it works on all platforms. however, when doing that you don't have the means to get the info which button was pressed on the mouse when e.g. the touches_move event is triggered. so i'm asking to retain the mouse button information when mouse triggers a touch event.
@keszegh, I'll be working on this subject today. And while I am at it, I'll add provision for reporting 'modifiers' too (Alt/Ctrl/Shift keys) on platforms which support them
@hg29, those modifiers would be a godsend for me, i'm doing this now by keeping noted when ctrl was pressed/released but i think this is liable to errors (and on mac i seem to have problems with it indeed) e.g. if the button is pressed within the app window but released only when it is not the active window anymore.
thanks @hgy29, mouse/touch is already quite a lot of improvement. it's a shame that it's so complicated to add this to keys too, if you manage to add it anytime later, that's great, no hurry.
Comments
[-] Liasoft
if you set up project such that mouse events also trigger touch events then your app needs to handle only touch events and it works on all platforms. however, when doing that you don't have the means to get the info which button was pressed on the mouse when e.g. the touches_move event is triggered.
so i'm asking to retain the mouse button information when mouse triggers a touch event.
Fragmenter - animated loop machine and IKONOMIKON - the memory game
And while I am at it, I'll add provision for reporting 'modifiers' too (Alt/Ctrl/Shift keys) on platforms which support them
Likes: antix, keszegh, SinisterSoft
Likes: hgy29
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Likes: SinisterSoft
Fragmenter - animated loop machine and IKONOMIKON - the memory game
it's a shame that it's so complicated to add this to keys too, if you manage to add it anytime later, that's great, no hurry.
Fragmenter - animated loop machine and IKONOMIKON - the memory game