User friendly multitouch managment
Version: 2.0
Price: $25
- Now compatible with ShiVa 2.0.
- Plugin API compiled for Mac and Linux in addition to Windows : it will provide API completion in the Script module in ShiVa Editor for each of these operating systems.
- Now uses a user token instead of an email to activate

- Added function removeUser ( hUser )

- Now compatible with multiple local users.

- Optimized for ShiVa 1.9.2

- JPMultitouch renamed to JPMultiTouch
- Fingers detection is now more robust
- onTouchInputChange now takes 2 additional parameters: nDeltaX and nDeltaY

- Internal modifications to prevent eventual conflicts between packs.

- Fixed a random issue blocking the activation of the pack

- Error messages now are easier to understand.


--JPMultiTouch API JPMultiTouch.activate ( sUserToken, sActivationKey ) JPMultiTouch.setMaxTouchInputCount ( nMaxTouchInputCount ) nCount = JPMultiTouch.getCurrentTouchInputCount ( ) JPMultiTouch.addUser ( hUser ) JPMultiTouch.removeUser ( hUser ) --User notification events: "onTouchInputBegin" ( nIndex, nPointX, nPointY ) "onTouchInputChange" ( nIndex, nPointX, nPointY, nDeltaX, nDeltaY ) "onTouchInputEnd" ( nIndex, nPointX, nPointY )


ShiVa's multitouch is really hard to manage, compared to the mouse. "Taps" in the "onTouchSequenceChange" handler are not very convenient because all the inputs are sent to a unique handler and when the number of detected fingers change, the input order can change.

With JPMultiTouch, you are done with all of these problems, the multitouch management becomes so easy, using the same method than the mouse. Each time a finger is pressed, moved or released, specific handlers are called for each one: "onTouchInputBegin", "onTouchInputChange" and "onTouchInputEnd".

But wait, that's not all, by combining JPMultiTouch with JPButton, you provide to your HUD buttons the possibility to be used in multitouch, I mean you will be able to click on several buttons at once. Very convenient for games using a virtual game pad, for instance! There's nothing else to do than to add these 2 packs to your game and call JPButton.enableMultitouch ( true ) and it will work like a charm!