Is the Palm Pre 2 multitouch?

Previous topic - Next topic

ampos

If so, it seems not to be working  :P
check my web and/or my blog :D
http://diniplay.blogspot.com (devblog)
http://www.ampostata.org
http://ampostata.blogspot.com
I own PC-Win, MacBook 13", iPhone 3G/3GS/4G and iPAC-WinCE

Ian Price

I noticed that too. According to Wiki it is, but I've not seen any evidence of that.
I came. I saw. I played.

Millerszone

#2
I had a problem with multi-touch. HTD Baseball code worked perfect on the iPhone, but on the Palm when I would pitch
and then press the bat button it worked the first time, but sometimes after, when I press the pitch button, the bat would also swing.
So I changed my code to this, and it works. Probably can be optimized.
Code (glbasic) Select

batPressedA = FALSE
batPressedB = FALSE

IF (arcadeMode = TRUE OR homerunDerby = TRUE OR twoPlayerMode = TRUE)
IF ANIMCOLL(mousePointer, 0, mouse[0].x, mouse[0].y, batPitchButtons, 0, batPitchButtonsX, batPitchButtonsY) AND mouse[0].active THEN batPressedA = TRUE
IF ANIMCOLL(mousePointer, 0, mouse[1].x, mouse[1].y, batPitchButtons, 0, batPitchButtonsX, batPitchButtonsY) AND mouse[1].active THEN batPressedB = TRUE
IF (batPressedA OR batPressedB) AND swingTheBat = FALSE
        swingTheBat = TRUE
PLAYSOUND (batSolenoidSnd, 0.0, batSolenoidVol)
ENDIF
ENDIF

Hardware: iMac 27", MacBook Air, PC 3.5Ghz Quad
Developing Tools: GLBasic SDK, Gideros Studio, PureBasic
Developing for: iOS, Android, Windows, OS X, webOS, HTML5

Kitty Hello

what does NUMMICE return? NUMMOUSE? MOUSECOUNT? My brain....

ampos

I hve just found that my code uses a ?IFDEF IPHONE for mouse check, as I used mouse button #2 as 2nd mouse on PC for testing purposes.

Will check later changing the ?IFDEF WEBOS

PS: WEBOS defined as plattaform ID is not listed in help file.

PPSS: WEBOS is pronunced the exact same as the spanish word for EGGS (used also as balls/testicles). HUEVOS.
check my web and/or my blog :D
http://diniplay.blogspot.com (devblog)
http://www.ampostata.org
http://ampostata.blogspot.com
I own PC-Win, MacBook 13", iPhone 3G/3GS/4G and iPAC-WinCE

MrTAToad

#5
On the Pre, GETMOUSECOUNT always return 10, no matter what you press (or dont press).

This will, of course, need to be fixed before the Tablet comes out as that is multi-touch compliant :)

Kitty Hello

that's right! mousecount is ten, but not all mice might have the button pressed.

ampos

Quote from: ampos on 2011-Apr-07
I hve just found that my code uses a ?IFDEF IPHONE for mouse check, as I used mouse button #2 as 2nd mouse on PC for testing purposes.

Will check later changing the ?IFDEF WEBOS

PS: WEBOS defined as plattaform ID is not listed in help file.

PPSS: WEBOS is pronunced the exact same as the spanish word for EGGS (used also as balls/testicles). HUEVOS.

Multitouch works fine. It was the ?IFDEF IPHONE.
check my web and/or my blog :D
http://diniplay.blogspot.com (devblog)
http://www.ampostata.org
http://ampostata.blogspot.com
I own PC-Win, MacBook 13", iPhone 3G/3GS/4G and iPAC-WinCE

MrTAToad

One problem out of the way :)

Ian Price

Even outside of GLBasic programs you can't see it is multi-touch - you don't get a "ripple" with the second touch if you are pressing the screen.
I came. I saw. I played.