The MP3car.com Store The MP3car.com Store    

Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development

Reply
 
LinkBack Thread Tools Display Modes
Old 06-01-2008, 01:44 AM   #1
Low Bitrate
 
FordNoMore's Avatar
 
Join Date: Oct 2007
Location: San Diego, CA
Posts: 86
Any way to make touch screen act like a touchpad?

So I'm looking all over my dash for a spot to mount a touch pad, and then it dawns on me that there's this huge 7" touch screen staring me in the face that's already beautifully mounted... Is there any way to switch the screen from acting like a regular touch screen to acting like touch pad, where the mouse arrow doesn't immediately jump to your finger, but instead just responds to the relative motions?

For digitizers and tablets I believe this is called switching from "Absolute Mode" to "Relative Mode".

A touch screen is great for clicking on big buttons to do things. But sometimes you need better precision like you'd get with a mouse or touchpad. Despite how tiny the screen is compared to a regular desktop, when I'm using a mouse I have no problem clicking on menus or small buttons that are practically impossible to hit with my finger on the touch screen.

I don't know how you'd trigger the switching between modes... There could be a button you click, or a place on the touchscreen you press and hold, or it could even just be related to which program you're using.

Has this been done? Anyone else think it would be useful? Any ideas how to pull it off?
FordNoMore is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 06-01-2008, 10:59 PM   #2
Low Bitrate
 
FordNoMore's Avatar
 
Join Date: Oct 2007
Location: San Diego, CA
Posts: 86
Okay, so 2nd best would be a "virtual touchpad" or "on-screen touchpad" program. Oddly enough I found a patent for just this idea (claim 12 about halfway down) but I'm coming up dry for any actual programs.
FordNoMore is offline   Reply With Quote
Old 06-04-2008, 02:52 AM   #3
Variable Bitrate
 
Join Date: Sep 2007
Location: West Springfield, MA
Posts: 250
I'm unsure of what it is you wish to accomplish. I know there are setting for my touchscreen drivers that can change it's click behavior. Other than that, I don't see how a touch screen doesn't act like a touchpad already.

Edit: After re-thinking, I do know what you mean by "relative motions" but don't really see why you would want this. Except if you where trying to put a certain window on a second monitor, or trying to click on something on another monitor.
blackcobra487 is offline   Reply With Quote
Old 06-04-2008, 11:10 AM   #4
Variable Bitrate
 
eric_barcus's Avatar
 
Join Date: Mar 2007
Posts: 252
Your talking about relitive like this right? where the dark grey area would be a "pre defined" location that would act like a touchpad
eric_barcus is offline   Reply With Quote
Old 06-04-2008, 09:19 PM   #5
Low Bitrate
 
FordNoMore's Avatar
 
Join Date: Oct 2007
Location: San Diego, CA
Posts: 86
Yeah, that's sort of the option I mentioned in my 2nd post above. And maybe that dark square would be its own little application window that looks like a touchpad, which you could drag around the screen, just like the Windows on-screen keyboard.

Maybe I didn't explain the first idea so well though... For stuff like Road Runner the regular touch screen is awesome. You just touch buttons on the screen and they depress. All is well.

But then you run a normal app like Firefox or Word or even Windows Control Panel. Now you have to access tiny little buttons, pick items off of a drop-down menu, etc. Does not work well on a touch screen. Normally I'd use a mouse or a touch pad for this work.

But, if I could switch the screen into an alternate mode and make the whole thing act like a touch pad, that would be great. I could just touch it anywhere and drag my finger around to move the mouse arrow precisely, just like I would on a touch pad. Rather than define a certain area or window that acts like a touch pad, the whole screen could go into "touch pad" or "relative" mode.

To clarify for BlackCobra: When you touch a touch screen, the mouse arrow jumps to where your finger is. When you use a touch pad (like the ones on most laptop computers), the mouse arrow moves in the direction you move your finger, but if you lift up your finger and put it down somewhere else, the arrow does not move. This allows very fine control.

Anyway, lots of people seem to have both a touch screen and a touch pad (that was my plan) because sometimes one is better than the other, but it'd be awesome if you could just switch modes on the touch screen and then it's all you need.

I'm thinking I should drop a post in Software Development, because that's probably where all the savvy programmers hang out.

EDIT: Okay, I don't want to contribute to duplicate thread pollution, so instead, Mod's, could you move this to Software Development?

Last edited by FordNoMore; 06-04-2008 at 09:37 PM.
FordNoMore is offline   Reply With Quote
Old 06-04-2008, 10:02 PM   #6
Variable Bitrate
 
eric_barcus's Avatar
 
Join Date: Mar 2007
Posts: 252
i think its an awesome idea! and i think you might be able to get a script for it it be nice to see a "floating button" that could sit in the corner of your screen and then when you clicked it you got a transparent gray overlay box (like in my drawing) that you could use to add to the current x,y coordinates of the mouse cursor so lets say the script would do this

(upon activating the "Transparent box")
the script would read the mouse coordinates
then when your finger was in side the transarent box perimeters (defined like other RR settings starting with X,Y,W,H)
it would add to the X,Y coordinates of the current mouse location

dont knwo how to right the script but
Code:
Get current mouse position as VAR MOUSE IF transparent box is visable then ADDTOCURSERCODE() is called ADDTOCURSERCODE() MOUSE + movement inside of transparent area

(wow that has to be this ****tyest looking code ive ever written, im jsut goint to at it )

it would be cool if the box was draggable around the screen by one of its corners

i wonder if we could make this work... can a mod move this to the software development forum if FordNoMore aggrees?
eric_barcus is offline   Reply With Quote
Old 06-04-2008, 10:36 PM   #7
Low Bitrate
 
FordNoMore's Avatar
 
Join Date: Oct 2007
Location: San Diego, CA
Posts: 86
Yeah, the algorithm shouldn't be hard. It's hooking into Windows, stealing touch screen input, tweaking it, and spitting it back at the OS that would take me some research.

To any other programmers passing through, here's maybe a head start: http://msdn.microsoft.com/en-us/libr...8VS.85%29.aspx

This talks about how to register a program for raw input. Apparently you can register a program to receive constant HID raw input even when it doesn't have the focus. Typically you'd pass the raw input on to DefRawInputProc, so I'm thinking this might be our chance to intervene. If we can read the raw touch screen input, interpret it and cook up our own "raw input" to pass on to DefRawInputProc, that might be the ticket.
FordNoMore is offline   Reply With Quote
Old 06-05-2008, 01:50 PM   #8
Variable Bitrate
 
Join Date: Sep 2007
Location: West Springfield, MA
Posts: 250
Alright, I see what you're getting at. I really like the idea. Let me know if it happens for you.
blackcobra487 is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
~ Computerizing a Fiero ~ by Mister ~ (Laptop & Touch Screen) Mister1 Worklogs 5 08-29-2008 09:58 AM
7" Tft Lcd Motorized Touch Screen Non-vga vontdeux LCD/Display 2 02-21-2008 10:06 AM
Touch screen problem-USB 1.1/USB 2-XP-Driver-Worcol-Touchkit-Solution:) Mister1 Laptops, Tablets, UPMCs, etc. 0 01-28-2008 12:13 PM
any feedback info. on Dynamix 7" VGA Touch Screen TFT ??? xtreamvette LCD/Display 29 04-22-2007 03:19 PM
Dynamix 7’’ LCD Touch Screen Monitor michael_16j LCD/Display 2 06-15-2006 09:31 AM


All times are GMT -5. The time now is 09:33 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics