Asfianda / agk

Automatically exported from code.google.com/p/agk
0 stars 0 forks source link

Multi-touch support... #109

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
  Not sure how to mark this as an enhancement rather than a defect, doesn't appear to be an accessible option for it (no 'combo drop down' menu on my screen, might be an IE9 compatibility problem for Google to fix).  Anyway, here is the enhancement request:

  Multi-touch support would be a useful addition.  Most tablets support this and now so do most phones.  It will help in games for faster zoom and scaling control and is an important input option to support.  It could be implemented with:

GetPointerState() would return a value of 2 (for the 2 input contacts)

  The developer could then retrieve the values for each point of contact with:

GetPointerX(1) and GetPointerX(2)
GetPointerY(1) and GetPointerY(2)

  Then with a simple distance calculation, the programmer could adjust the zoom or scaling as needed.

Original issue reported on code.google.com by sw3dga...@gmail.com on 17 Oct 2011 at 9:27

GoogleCodeExporter commented 8 years ago
There is already multitouch support with the GetRawFirstTouchEvent and 
GetRawNextTouchEvent commands. (As well as others)

These are NOT currently platform independent however.

Original comment by therealm...@googlemail.com on 24 Oct 2011 at 12:32

GoogleCodeExporter commented 8 years ago
As mentioned, multi-touch command exist but they don't work with Windows touch 
screens, we plan to add support for this.

Original comment by P.S.John...@gmail.com on 15 Nov 2011 at 12:07