PocketMatrix forums

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

Motorola Q soft keys

Birdiestyle · 19 Sep 2006, 04:24 UTC
A couple of questions...(3.6a)

1. I notice the Q emulator doesnt work with Q builds but the device does. No way around this?

2. On my Q, it appears it isnt registering the soft key presses?? (as vkA and vkB like normal on the SP, or the Back).

3. Should I be able to compile against the 2003 SDK and still have it work on the Q?

Thanks
Birdiestyle · 21 Sep 2006, 02:44 UTC
Is anyone using this with the Q? Did you develop against a Q for version 3.6a. Just wondering about my above questions before I get a new license...

I can also test anything if needed..

thanks
Birdiestyle wrote:
1. I notice the Q emulator doesnt work with Q builds but the device does. No way around this?

2. On my Q, it appears it isnt registering the soft key presses?? (as vkA and vkB like normal on the SP, or the Back).

3. Should I be able to compile against the 2003 SDK and still have it work on the Q?


Hello,

1. Very strange. I see no reasons it should not work with the emulator. Sorry but I cannot help you here.

2. Also very strange. Maybe the keycodes are not vkA or vkB on the soft buttons on the device? Can you try this you think?

3. Yes it should work as long as you are using 3.6a.

Cheers
Johan
Birdiestyle · 24 Sep 2006, 04:44 UTC
1. Hmmm.. Yeah, I get a "needs to run on a 16-bit device error on the Q emulator..??

2. I dont appear to be getting passed anything thru keyown when I push either soft key or back... I grab
the value of dwKey and display it on KeyDown, and it doesnt show anything after the presses...

3. Ill try this out once I get further with #2....

I take it it wasnt actually developed against a Q?
The graphics part seems to be working well, I just need the keys, any ideas?

Thanks
Birdiestyle · 27 Sep 2006, 20:37 UTC
Ok, Im getting closer to my release date(shooting for next Friday) and am on target for it, except I am not seeing any progress on this MAJOR issue with the Q.

I have the License fee ready and waiting, if I know this is resolved I will purchase immediately, and Id really like that to occur by the release date. Ill even settle for a code workaround for now... Does anyone have soft keys(and the back) working on the Q with Gapidraw?

Johan, are you looking into this??
Ok, regarding the input stuff.

Can you try the following, in WM_KEYDOWN in GapiApplication, add some debug code and print a string in ProcessNextFrame to see if the key is pressed or not.

If that still does not work, try compiling with the WinMobile 5.0 native version, that version does not use GAPI for the keybindings.

Please posting your findings here :-)

//Johan
Birdiestyle · 02 Oct 2006, 16:45 UTC
That seems to be the problem. It works fine if you build under 2003SP but in WM5 SP the keys dont work. Not a big deal to me now that I know, so I will be contacting you this week...

Thanks