Quick Links: Gideros Home | Download Gideros | Developer Guide
feature request: touch.button
  • keszegh +1 -1
    Member
    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.
  • keszegh +1 -1
    Member
    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.
  • hgy29hgy29 +1 -1 (+3 / -0 )
    Maintainer
    @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
  • keszegh +1 -1 (+1 / -0 )
    Member
    @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.

    Likes: hgy29

  • keszegh +1 -1 (+1 / -0 )
    Member
    @hgy29, those modifiers will be added to both key and mouse events, right? (i'd need them for both)

    Likes: SinisterSoft

  • hgy29hgy29 +1 -1
    Maintainer
    Ah, no I added them for mouse/touch only, sorry. I'll try to do it for keys too but it is tedious: need to modify dozens of files
  • keszegh +1 -1
    Member
    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.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Login with Facebook Sign In with OpenID

In this Discussion

Top Posters