Monkey sends both OnMouseEvent and OnTouchEvent [SOLVED]

About Monkey 2 Forums Monkey 2 Development Monkey sends both OnMouseEvent and OnTouchEvent [SOLVED]

This topic contains 2 replies, has 3 voices, and was last updated by  scurty 1 year, 2 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #13410

    Diffrenzy
    Keymaster

    [EDIT2]: I’ve come to the conclusion that this is convenient, and only thing missing is a mention in the docs.

    [EDIT] : This seems to be SDL’s doing?

    I’ve run into this issue, that messes up counting clicks/taps

    On Android and IOS, Monkey sends both Mouse Messages and Touch Messages, for the same event.

    (I have not yet tested on a Windows Tablet )

    In Monkey-X this was convenient, but since Mx2 splits up the event’s, it’s a bit confusing.

    As far as I can find, there are no mentions in the docs of this behavior.

    Run this example on Android or IOS to see clickcounter going up in steps of 2.

    #13428

    Amon
    Participant

    I get the same here. Samsung Galaxy s8+.

    #13430

    scurty
    Participant

    Android has a touch event thingy that also sees taps as mouse inputs I think. Not sure if you can single them out. But it’s for monitors/displays that use touch from a mouse driver perspective from back in the day. Linux is the same way.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.