User Tag List

Results 1 to 5 of 5

Thread: Detect if user is using a touch screen PC?

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module

    Join Date
    Jul 2006
    Location
    Lacey, WA
    Posts
    755
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Detect if user is using a touch screen PC?

    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!

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fanotherpg's Avatar
    Join Date
    Jul 2006
    Location
    High Wycombe, Buckinghamshire, UK
    Posts
    3,665
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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.

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module

    Join Date
    Jul 2006
    Location
    Lacey, WA
    Posts
    755
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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

  4. #4
    No Products Registered

    Join Date
    Nov 2012
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Bipolar_Games View Post
    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.

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module

    Join Date
    Jul 2006
    Location
    Lacey, WA
    Posts
    755
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yup, that's what I've implemented. Thanks though :-)

Similar Threads

  1. Detect if certain app is installed on user's device?
    By MJK in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 9th November 2013, 09:59 AM
  2. detect more than 1 touch at a time?
    By ZayLong in forum Android Export Module Version 2.0
    Replies: 0
    Last Post: 21st July 2013, 01:35 AM
  3. Detect if user has a touch screen PC?
    By Bipolar_Games in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 31st January 2013, 01:51 AM
  4. Detect touch over joystick?
    By Renatos in forum iOS Export Module Version 2.0
    Replies: 4
    Last Post: 27th February 2012, 04:05 PM
  5. Detect if the user has moved the window
    By K1kk0z90 in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 20th November 2010, 04:30 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •