Coder Social home page Coder Social logo

Comments (6)

03knoppg avatar 03knoppg commented on July 19, 2024

Hi, do you know of a workaround for this? For example, is there a way to reset the ActiveTouches list?

from touchscript.

valyard avatar valyard commented on July 19, 2024

Have you experienced this behavior too?
Because I'm not sure if it's a global problem or just a problem with MouseInput.
And I try not to work in low FPS condition (8

from touchscript.

03knoppg avatar 03knoppg commented on July 19, 2024

Yeah this has been occurring in my app fairly regularly even at 60 fps. I have both Wint7TouchInput and MouseInput active at the same time. Without MouseInput I cant reproduce it so seems like there is something going on there.

from touchscript.

valyard avatar valyard commented on July 19, 2024

AFAIK all touch-enabled apps send the first touch as mouse click.
Have you tried testing with disabled MouseInput?

from touchscript.

03knoppg avatar 03knoppg commented on July 19, 2024

Yeah it works fine with MouseInput disabled.. except that I can't use the mouse :).

I posted on the unity support thread under user name bgr about using touch and mouse at the same time. I found that windows will generate the first touch as a mouse click as you said. With both Inputs enabled, the touch will show as two separate entries in ActiveTouches, but they will always be offset by exactly (1,0) which is interesting.

from touchscript.

valyard avatar valyard commented on July 19, 2024

Fixed in develop branch.

from touchscript.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.