PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

multiple button presses revisited

This may be related to the other latency issue with buttons, but may not. What is happening is that when I press the directional button, I get two "press" events. What I have is a single move movement and when running in windows it works fine, but when I run it on my ipaq 3950 I get two moves.

I have some state in my App class to catch and handle a hold, and when I press and hold I get the initial 2 move, then my timer (based on frames) goes off every quarter of a second and this works fine moving on one square at a time.

And a slightly related question, in the docs I see vkStart, vkA, vkB and vkC. On the ipaq and on many machines there are 4 mini buttons and then the direction pad press. It appears the pad press is Start for the ipaqs, but where is the 4th key?