Touch screen on raspberry pi 3

  1. 2 years ago

    I'm currently using a raspberry pi running the most recent version of Jessie and the official 7" touchscreen. My problem is I have a canvas control that doesn't fire the mouse drag event using touch. It works using a mouse but swiping with a finger only fires the mouse down and mouse up events. Would this be a Xojo problem or a raspberry pi problem? Does anyone else have the same issue?

    Try compiling in 2017r1.1 When they went to GTK3 in 2017r2 it broke Touch

  2. brian f

    7 Feb 2018 Pre-Release Testers, Xojo Pro Chilly California

    Jay,

    the doc's say it is available on Linux

    The Doc's also say you must return True in the MouseDown event first.

    Did you try that already?

  3. Yeah. It works if I use the mouse but not if I use the touchscreen.

  4. Graham B

    7 Feb 2018 Pre-Release Testers, Xojo Pro The Canada's

    Is the mouse move event firing? Maybe the touch is not treated as a drag?

  5. Eugene D

    7 Feb 2018 Pre-Release Testers, Xojo Pro Canada scispec.ca

    Hi Jay,

    On my Raspberry Pi there was an extra set of wires to retrieve the touch position to the Pi. There was also a cable to attach the video-out from the Pi to the screen. Are both sets of wires connected? Just asking :)

  6. Mouse move doesn't fire either. I can see the cursor move under my finger and the mouse down and mouse up work so I believe everything is hooked up correctly.

  7. Steve K

    7 Feb 2018 Pre-Release Testers, Xojo Pro Topeka, KS

    What version of Xojo?

  8. 2017r2

  9. Steve K

    7 Feb 2018 Pre-Release Testers, Xojo Pro Answer Topeka, KS

    Try compiling in 2017r1.1 When they went to GTK3 in 2017r2 it broke Touch

  10. I'm not home right now but I'll give it a shot. Thanks.

  11. Joost R

    8 Feb 2018 Pre-Release Testers, Xojo Pro The Netherlands
    Edited 2 years ago

    @Eugene D On my Raspberry Pi there was an extra set of wires to retrieve the touch position to the Pi

    On mine too, and works well.
    Last thing I did with it was Xojo 2016R4.1

  12. Everything works fine in release 1. Thanks for the help.

  13. 11 months ago

    Sean B

    10 Sep 2018 Pre-Release Testers, Xojo Pro New York, NY
    Edited 11 months ago

    @Steve K Try compiling in 2017r1.1 When they went to GTK3 in 2017r2 it broke Touch

    Sorry to bump an old thread, but is there a feedback case number for this?
    I'm still having this same issue.

  14. Steve K

    10 Sep 2018 Pre-Release Testers, Xojo Pro Topeka, KS

    Post with Feedback case I filed

  15. Sean B

    10 Sep 2018 Pre-Release Testers, Xojo Pro New York, NY

    Amazing thanks!
    Looks like I need to get 2018r3 installed.

or Sign Up to reply!