Problem with multi-touch in 3D space
2 posters
Problem with multi-touch in 3D space
If I use tutorial05 and place the following code below in templateScreenTap(), it works fine when I press the display with 2 fingers
If I place the same code with tutorial14, the printf() will never get executed when I press with 2 fingers (I verified by stepping in with gdb)
The only difference I see is that in tutorial05, it is in 2D space pretty much all the time.
Any idea why multi-touch does not trigger in 3D space as I tried with tutorial14?
Thanks
--Frank
- Code:
void templateScreenTap( void *_ptr, unsigned char _state )
{
if (sio2->_SIO2window->n_touch > 1)
{
printf("\nMulti-touch is working...\n" );
}
...
...
If I place the same code with tutorial14, the printf() will never get executed when I press with 2 fingers (I verified by stepping in with gdb)
The only difference I see is that in tutorial05, it is in 2D space pretty much all the time.
Any idea why multi-touch does not trigger in 3D space as I tried with tutorial14?
Thanks
--Frank
Francescu- Posts : 136
Join date : 2009-03-18
Re: Problem with multi-touch in 3D space
Make sure that you enable multi-touch:
[ self setMultipleTouchEnabled:YES ];
Check tutorial05 for more info...
[ self setMultipleTouchEnabled:YES ];
Check tutorial05 for more info...
Re: Problem with multi-touch in 3D space
Dang - I feel so stupid. Thanks man.
I was using tutorial13_1 to emulate touch on the device for my app and of course it was working as it is enabled in tutorial13_1 ;-)
I was using tutorial13_1 to emulate touch on the device for my app and of course it was working as it is enabled in tutorial13_1 ;-)
Francescu- Posts : 136
Join date : 2009-03-18
Similar topics
» Multi-Touch Handling
» Widget in 3-D space
» Multi-Materials for one object
» iPhone and iPod Touch Development using Microsoft Visual C++
» networked multi-player games (with peer discovery)
» Widget in 3-D space
» Multi-Materials for one object
» iPhone and iPod Touch Development using Microsoft Visual C++
» networked multi-player games (with peer discovery)
Permissions in this forum:
You cannot reply to topics in this forum