RE: [GD-Windows] SetCursorPos on TabletPC
Brought to you by:
vexxed72
From: George G. <ge...@ba...> - 2006-01-29 04:26:23
|
While there may be differences when using DirectInput, for Win32 calls the type of pointing device (tablet, light pen, trackball, etc) should all result in a relatively predictable and 'mouse-centric' result. For example, WM_MOUSEMOVE returns the x/y position, not a change delta. So I wouldn't expect any differences in Win32 calls with different devices. -- George. - George Geczy - Lead Programmer, BattleGoat Studios - www.supremeruler2010.com - "Designing the Next Generation of Intelligent Strategy Games" > -----Original Message----- > From: gam...@li... > [mailto:gam...@li...] On > Behalf Of brian sharon > Sent: Saturday, January 28, 2006 4:06 PM > To: gam...@li... > Subject: Re: [GD-Windows] SetCursorPos on TabletPC > > > It must be slightly different though - a tablet PC will convert your > input to an absolute mouse position, while a mouse (and a Wacom > tablet) will take your input and convert it into a delta > motion based > on the current mouse position. In other words, you can "warp" the > pointer on a tablet PC by lifting the pen, but you can't do that by > lifting your mouse. > > That said, I can't imagine why SetCursorPos wouldn't work on > a tablet > PC, but I have no direct experience to back that up... > > --brian |