PocketMatrix forums

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

Question on KeyDown and keylist

On a device that supports diagonal presses on the dPad, what would I expect to see returned by KeyDown(DWORD dwKey, GDKEYLIST &keylist;)? Will dwKey be a logical OR of the two directions that make up the diagonal?
Hi GR,

I hope this will help in your issue :

http://pocketmatrix.com/forums/viewtopic.php?t=12742

Actually I'm the anonymous here :-)
Thanks Denthor!
Well dang. That was me that just posted.
I have a question about keylist.

If I don't rotate the screen orientation, does the keylist change during the program run?

I only use the normal screen orientation. I'd like to just initialize my keys once, and then not worry about keylist. To do this, I need to know that it won't change under me.

I expect this is the case, but I want to be sure.
If I don't rotate the screen orientation, does the keylist change during the program run?


It does not change, so you can safely initialize your keys only once..