AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Using Laptop Touchpad Data Directly (COM or DLL?)

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
afromonkey0



Joined: 13 Oct 2007
Posts: 24

PostPosted: Sat Dec 22, 2007 6:13 pm    Post subject: Using Laptop Touchpad Data Directly (COM or DLL?) Reply with quote

I was looking at videos of multitouch displays and the cool intuitive things they can do, like zooming in by putting fingers close together and spreading them apart, etc. And i realised that on my laptop touch pad, if i tap it clicks, and with two fingers it right clicks, three fingers it middle clicks, so it must be able to receive multiple finger input.
If there was a way to access that, i could make multitouch functionality for laptops.

So here's where you guys come in. Does anyone good at DLL calls or whatever know how to get at that touchpad data through autohotkey?

Here are some vids that give you an idea of what it could be capable of
http://www.youtube.com/watch?v=TJF4sUs0dZ0
http://www.youtube.com/watch?v=1ftJhDBZqss
Back to top
View user's profile Send private message
tank



Joined: 21 Dec 2007
Posts: 3700
Location: Louisville KY USA

PostPosted: Mon Jan 07, 2008 4:42 am    Post subject: Reply with quote

Its not multi touch
Its reacting to the width of the tap
Try using the hlat of your index finger
Smile
_________________

We are troubled on every side‚ yet not distressed; we are perplexed‚
but not in despair; Persecuted‚ but not forsaken; cast down‚ but not destroyed;
Back to top
View user's profile Send private message
tank



Joined: 21 Dec 2007
Posts: 3700
Location: Louisville KY USA

PostPosted: Mon Jan 07, 2008 4:43 am    Post subject: Reply with quote

also that system uses a system of cameras to react to the user
_________________

We are troubled on every side‚ yet not distressed; we are perplexed‚
but not in despair; Persecuted‚ but not forsaken; cast down‚ but not destroyed;
Back to top
View user's profile Send private message
afromonkey0



Joined: 13 Oct 2007
Posts: 24

PostPosted: Mon Jan 07, 2008 4:04 pm    Post subject: Reply with quote

tank wrote:
Its reacting to the width of the tap

It isn't, because if i do this;
_______________
| [x] |
| |
| |
| [x] |
|______________|

it gives the 2 finger response, and this;
_______________
| [x] |
| [x] |
| |
| [x] |
|______________|

gives the 3 finger response. It may not be multitouch but it's not the width of the touch either.
Back to top
View user's profile Send private message
afromonkey0



Joined: 13 Oct 2007
Posts: 24

PostPosted: Mon Jan 07, 2008 4:06 pm    Post subject: Reply with quote

ok the ascii art didn't work because it doesn't recognise multiple spaces for some reason.
The point is, with the end fingers the same width apart, it is different if there's one in the middle or not.
Back to top
View user's profile Send private message
automaticman



Joined: 27 Oct 2006
Posts: 648

PostPosted: Sat Sep 19, 2009 9:22 am    Post subject: Reply with quote

If it can already distinguish among multiple states, e.g. among three states, it should be already enough, no matter if it is or is called multitouch or not. In the end only the differentiation of multiple states is important among which we can switch fastly using our fingers.
Back to top
View user's profile Send private message
AnttiV



Joined: 14 Aug 2009
Posts: 237
Location: Finland

PostPosted: Sat Sep 19, 2009 11:14 am    Post subject: Reply with quote

Unfortunately, it probably IS just detecting the width (or, more specifically, radius) of the "click". I'll draw an example in a little bit if I have time. but it basically "draws a circle" around the pressure points and detects the size of that.

At least few of the laptop manufactures use that kind of touchpads, since a customer in my last job always complained his laptop only scrolled and didn't click properly - turned out his fingers were big enough for the touchpad to always detect "two fingers" even though he only used one.

EDIT: Here's what I mean. The "count of fingers" is calculated from the radius of the green area.

I agree though, whatever means the touchpad uses to distinguish between those states, it should be enough to make a "multitouch" application based on moving from state to state.

For example, zoom in if you move from "two-finger" state to "one-finger" state.
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group