# Unable to detect the First touch using GetMouse or GetClicks ?

**URL:** <https://psychtoolbox.discourse.group/t/unable-to-detect-the-first-touch-using-getmouse-or-getclicks/1281>\
**Category:** Uncategorized\
**Created:** [June 6, 2018, 1:02pm UTC](https://psychtoolbox.discourse.group/t/unable-to-detect-the-first-touch-using-getmouse-or-getclicks/1281 "2018-06-06T13:02:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Allen\_Ingling](https://avatars.discourse-cdn.com/v4/letter/a/a183cd/32.png) [@Allen\_Ingling](https://psychtoolbox.discourse.group/u/Allen_Ingling)\
**Post date:** [June 6, 2018, 1:02pm UTC](https://psychtoolbox.discourse.group/t/unable-to-detect-the-first-touch-using-getmouse-or-getclicks/1281/1 "2018-06-06T13:02:06Z")

</div>

Hi,
  

I'm using Psychtoolbox. I usually wait for to detect a touch input on the ''Screen(theWindow)'', it works usually fine when I use my touchpad but I have to double tap when I use the touchscreen, Could somebody propose a solution for this such that I can detect the touch in a single touch.

  

Thank you

---

<div class="post-metadata">

**Author:** ![Alice](https://avatars.discourse-cdn.com/v4/letter/a/779978/32.png) [@Alice](https://psychtoolbox.discourse.group/u/Alice)\
**Post date:** [March 2, 2020, 5:16pm UTC](https://psychtoolbox.discourse.group/t/unable-to-detect-the-first-touch-using-getmouse-or-getclicks/1281/2 "2020-03-02T17:16:34Z")

</div>

Hello,  
I have the same problem as you. Did you manage to find a solution? Also, are you using windows?  
Thank you!

---

<div class="post-metadata">

**Author:** ![mariokleiner](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@mariokleiner](https://psychtoolbox.discourse.group/u/mariokleiner)\
**Post date:** [March 2, 2020, 9:10pm UTC](https://psychtoolbox.discourse.group/t/unable-to-detect-the-first-touch-using-getmouse-or-getclicks/1281/3 "2020-03-02T21:10:39Z")

</div>

While i can confirm it doesn’t work on a MS Surface Pro 6 under Windows 10 either, i don’t think there is a general solution for this. At least i couldn’t find any system setting to get this to behave differently on that touch screen. Maybe if you Google long enough you find some hack or 3rd party tool to do something about it, maybe not.

The proper solution is to install Linux and then use PTB’s actual touchscreen support on that OS to do touch input properly, cfe. MultiTouchDemo.m

---

<div class="post-metadata">

**Author:** ![Alice](https://avatars.discourse-cdn.com/v4/letter/a/779978/32.png) [@Alice](https://psychtoolbox.discourse.group/u/Alice)\
**Post date:** [March 3, 2020, 9:00am UTC](https://psychtoolbox.discourse.group/t/unable-to-detect-the-first-touch-using-getmouse-or-getclicks/1281/4 "2020-03-03T09:00:45Z")

</div>

I will try this, thank you!
