Home UserCP Memberlist Register Calendar FAQ
Home

Go Back   Official TouchBuddy Forum > TouchBuddy by Game > Lockon
Register FAQDonate Members List Calendar Search Today's Posts Mark Forums Read

   

Reply
 
LinkBack Thread Tools Display Modes
Old 08-17-2006, 05:16 PM   #31 (permalink)
 
Wild.Bill.Kelso's Avatar
Toolkit Creator
 
Join Date: May 2006
Location: On your Six!
Posts: 1,896
Wild.Bill.Kelso is on a distinguished road
Default

Fingers are crossed, and prayers have been submitted for His approval.
__________________
(a.k.a. Snacko)
Touchscreen: Innovatek TM-868 8"; Running Local Mode on XP Pro


Wild.Bill.Kelso is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-17-2006, 05:27 PM   #32 (permalink)
Junky
 
Join Date: Aug 2006
Posts: 97
AndyHill is on a distinguished road
Default

Quote:
Originally Posted by zorlac
SetCapture will block all attempts to move the mouse from any drivers too The drivers report to the system, and the system is enforcing the lock to the area

I`ll see if I can contact Oleg via whatever channel...
But what if the drivers won't use the mouse in any way? There has to be a direct way to get info from and to the touchscreen, at some point the driver must see raw position values, which it then translates into mouse movement. If there was a way to get to this raw data you wouldn't have to worry about mouse issues ever again. It would probably be beneficial for touchscreen manufacturers to allow simple and direct access that could be used regardless of any properties of other software running simultaneously.
AndyHill is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-17-2006, 05:32 PM   #33 (permalink)
Creator
 
Join Date: May 2006
Location: Cambridge, UK
Posts: 1,617
zorlac is on a distinguished road
Default

the touchscreen drivers see you press the screen, they work out what x/y position that is on the windows screen.... then the only way to get the button on the touchscreen pressed is to tell the system to move the mouse to that x/y position and then tell the system to send a mouse click.

The touchscreen drivers know where the x/y position is, but without hitting the system at a hardware level (very hard, and probably impossible without M$ signed drivers in Vista), the only way to get the mouse to move is to do a system call to move it there. If the system has a ClipCursor or SetCapture lock, then it doesnt matter that the touchscreen drivers are trying to move the mouse to that position, the system will stop the mouse when it reaches the border of any locked area.

If I can bypass SetCapture, all this becomes an obsolete conversation anyway
__________________


(Setup: XP Pro, classic mode, LinITX 8" touchscreen (Client/Server), 19" touchscreen (Local), latest development version of TouchBuddy)
zorlac is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-17-2006, 05:51 PM   #34 (permalink)
Junky
 
Join Date: Aug 2006
Posts: 97
AndyHill is on a distinguished road
Default

Hmm yes, of course, that's where the problem lies. I don't know if it would be impossible or just too much work to hard code the button positions in the profiles, but I don't have to tell you how much it would mean to have guaranteed and simple local mode compatibility for every game out there. Hmm now that I think of it things like scrollbars would make direct position calculation quite difficult indeed. I kind of think touchscreen manufacturers would be in best position to fix teh problem. At least it might be worth a shot contacting them and telling them what you're doing. Anyway, it would be fair to warn them before they run out of stock since everyone is going to want their own touch-buddies soon.
AndyHill is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-17-2006, 05:54 PM   #35 (permalink)
Dealer
 
Join Date: Jul 2006
Location: North Las Vegas
Posts: 225
Vegas is on a distinguished road
Default

Quote:
Originally Posted by zorlac
If I can bypass SetCapture, all this becomes an obsolete conversation anyway
I'm voting for "bypass surgery"!!! Go Zorlac!
__________________

Setup: Core2 Duo, 7600GT, XP Pro, TM-868 touchscreen, local mode, latest version of TouchBuddy... Oh, and a DETROIT TIGERS paint job (that makes it run FASTER!!!)
Vegas is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-17-2006, 06:37 PM   #36 (permalink)
Creator
 
Join Date: May 2006
Location: Cambridge, UK
Posts: 1,617
zorlac is on a distinguished road
Default

Rushed home, fired up TB and... ReleaseCapture doesnt work with iL-2 bugger....
__________________


(Setup: XP Pro, classic mode, LinITX 8" touchscreen (Client/Server), 19" touchscreen (Local), latest development version of TouchBuddy)
zorlac is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-17-2006, 07:05 PM   #37 (permalink)
Creator
 
Join Date: May 2006
Location: Cambridge, UK
Posts: 1,617
zorlac is on a distinguished road
Default

I think its using a DirectX call... maybe...

http://www.gamedev.net/reference/art...rticle1657.asp
__________________


(Setup: XP Pro, classic mode, LinITX 8" touchscreen (Client/Server), 19" touchscreen (Local), latest development version of TouchBuddy)
zorlac is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-17-2006, 07:08 PM   #38 (permalink)
Junky
 
Join Date: May 2006
Location: Nottingham - UK
Posts: 88
Urban is on a distinguished road
Default

its ok Client/Server ftw
__________________



Winxp home sp2 - 15" Microtouch Touchscreen - Server/Client mode - Latest release version of Touchbuddy
Urban is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-18-2006, 11:27 AM   #39 (permalink)
Junky
 
Join Date: Aug 2006
Posts: 97
AndyHill is on a distinguished road
Default

Noooooooo getting TB to work in any game in local mode would be a huge deal for most. People willing to mess with two computers are a minority within a niche when it comes to flightsimmers and in other genres there won't be that many.
AndyHill is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-18-2006, 11:44 AM   #40 (permalink)
Creator
 
Join Date: May 2006
Location: Cambridge, UK
Posts: 1,617
zorlac is on a distinguished road
Default

Its down to how the game "locks" the mouse. If it uses a system call that I can undo, then its probably going to work, but if they are calling DX calls, then it probably wont work in local.

As for the touchscreen drivers, I`ll say this once again.... if the system has locked the mouse to an area, then it doesnt matter what the drivers do. All they do is tell the system that they would like to move the mouse to a specific location. If the system is blocking or restricting that movement, it doesnt matter what the drivers try to do, it just wont work. The system controls everything... if it doesnt want to allow you to do something, it wont, no mmatter if its an end user program or a system driver.
__________________


(Setup: XP Pro, classic mode, LinITX 8" touchscreen (Client/Server), 19" touchscreen (Local), latest development version of TouchBuddy)
zorlac is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

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 On
Refbacks are On



All times are GMT. The time now is 08:54 PM.
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0

  www.touch-buddy.com        Archive  


Footer
vBSkinworks Top