Detect if user is using a touch screen PC?

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Is there any way to determine if the user is using a touch screen or a mouse? I need to be able to tell the difference in the game I'm working on!

    Thanks!

    Please login to see this link.
    Please login to see this link.

  • And what would be the difference? Windows detects it as a normal mouse input.

    Windows 7 and 8 detect if there is touch screen is connected and how many touch inputs it allows so there should be some dll for that, but there is no extension per say.

    End is near.

  • Well there's a bug in my game that only happens when a touch screen is used. I figured out that if I disable a certain non-crucial feature, it works fine. So what I would like to do is detect if the user is using a touch screen, and then automatically disable the feature.

    Unfortunately I haven't found any other way to fix this :(

    Please login to see this link.
    Please login to see this link.

  • HTML

    Well there's a bug in my game that only happens when a touch screen is used. I figured out that if I disable a certain non-crucial feature, it works fine. So what I would like to do is detect if the user is using a touch screen, and then automatically disable the feature.

    Unfortunately I haven't found any other way to fix this :(

    Yes, I don't believe there is currently an extension or method to detect this automatically, after some searching. Your best bet would probably be to ask "are you using a touchscreen?" when you start up the game, or having "touchscreen: on/off" in the options.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!