Results 1 to 4 of 4

Thread: Touch screen coordinates question

  1. #1
    Low Bitrate
    Join Date
    Dec 2007
    Location
    NY
    Posts
    88

    Touch screen coordinates question

    1/ Is there a mouse icon with touch screens?
    2/ If there is a mouse icon with touch screens and I need to program a function where someone touches within specific coordinates, can I program it with "where ever the mouse position is" and it "knows" since it is a touch screen to grab the position where I actually touched?
    3/ If there is no mouse, do I program it with the same principle of "get position of mouse" and it "knows" that it is actually where I touched?

    I'm asking because I don't know if the programming of getting the mouse position is actually looking for where the mouse actually is, or registering where the mouse was clicked.

    Thanks.

  2. #2
    Vendor - Qube colin's Avatar
    Join Date
    Dec 2006
    Posts
    798
    There is a mouse icon. A lot of times you'd want it turned off, but it still functions as a mouse...

    You use the button concept to program. When you press a location on the touchscreen, the drivers move the mouse cursor to that point and click. It is essentially the same as moving the mouse manually and clicking.

    Getting the mouse position would tell you where the screen was last pressed since that is where the mouse is.

  3. #3
    Low Bitrate
    Join Date
    Dec 2007
    Location
    NY
    Posts
    88
    Thanks,
    OK, so just so I'm clear, drivers that come with the touch screen will automatically move the mouse to wherever the person touches(if the mouse is showing), so I can still use a function to get mouse position? And if no mouse is actually showing, get mouse position will still work based on where the person touches? ....I don't have to program something to move the mouse to where someone touches?

  4. #4
    Vendor - Qube colin's Avatar
    Join Date
    Dec 2006
    Posts
    798
    Correct. Even if no cursor is showing, the mouse still moves and clicks.
    I think that its really ugly having that arrow showing on a touch screen -- you don't need to SEE where you last pressed... but the computer will still know.

Similar Threads

  1. BMW OEM screen to touch screen - anyone?
    By Robert_IT in forum LCD/Display
    Replies: 8
    Last Post: 06-03-2010, 06:29 PM
  2. Touch screen problem-USB 1.1/USB 2-XP-Driver-Worcol-Touchkit-Solution:)
    By Mister1 in forum Laptops, Netbooks, Tablets, UMPCs, etc.
    Replies: 0
    Last Post: 01-28-2008, 01:13 PM
  3. Non function of touch screen
    By mikegmm in forum LCD/Display
    Replies: 2
    Last Post: 12-10-2007, 10:01 PM
  4. Question regarding touch screens
    By jdiazj1 in forum General Hardware Discussion
    Replies: 11
    Last Post: 06-21-2007, 03:26 PM

Bookmarks

Posting Permissions

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