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 

Problem using KeyWait in tablet PC

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



Joined: 07 Nov 2009
Posts: 1

PostPosted: Sat Nov 07, 2009 3:35 am    Post subject: Problem using KeyWait in tablet PC Reply with quote

I've done some searching but it doesn't seem like anyone else has had this problem. I'm writing a script that uses a hotkey for the left mouse button. It works fine on my desktop PC and LT C-500 tablet (which has the resistive type of touch screen).

With my Motion Computing M1300 tablet, although the hotkey activates when I tap the stylus, KeyWait and GetKeyState aren't able to recognize when the pen is pressed down. They always believe the left mouse button is up. I've tried using OnMessage() with the same result.

The M1300 uses the EM field kind of touch display (I forget what they call it) that only works with a special stylus. I wonder if it's using a driver that somehow bypasses what Autohotkey hooks for the mouse buttons. OTOH, all other apps work fine with the pen, doing what they're supposed to when the pen is pressed down, held, or released.

Can anyone illuminate what the problem might be and whether there's a workaround. Is there another, lower level way of determining if a mouse button is up or down?
Back to top
View user's profile Send private message
txquestor



Joined: 22 Aug 2009
Posts: 294

PostPosted: Sat Nov 07, 2009 11:28 pm    Post subject: Reply with quote

I don't use nor am I familiar with you're type of touchscreen,
however, if there is an answer it is related to these links.
http://www.autohotkey.com/forum/topic6367-45.html
http://www.autohotkey.net/~Micha/HIDsupport/Autohotkey.html
http://www.autohotkey.com/forum/viewtopic.php?t=43732
http://www.autohotkey.com/forum/viewtopic.php?t=30245

Also do a Forum Search on "Touchscreen" or "Tablet", you'll find others.

Have Fun, Surprised
_________________

"Man's quest for knowledge is an expanding series whose limit is infinity"
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   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