GLBasic forum

Main forum => GLBasic - en => Topic started by: mr_x on 2009-Mar-04

Title: PocketPC buttons
Post by: mr_x on 2009-Mar-04
Is there any keycodes for this buttons?

[attachment deleted by admin]
Title: Re: PocketPC buttons
Post by: Moru on 2009-Mar-04
You can make your own testcode for checking the button-codes with the KEY() command.

Something like this:

Code (glbasic) Select
WHILE TRUE
FOR n = 0 TO 254
IF KEY(n) <> 0 THEN PRINT "key: " + n, 50, 50
NEXT
SHOWSCREEN
WEND


Run this code on your target platform and you should get a key if it is possible for that button.
Title: Re: PocketPC buttons
Post by: mr_x on 2009-Mar-04
Great solution, thanks.
Title: Re: PocketPC buttons
Post by: RobinKinge on 2009-Mar-12
Hi Moru,

I have a Tytn II and the green 'make a call' and the red 'hang up' do not return keys. Are these readable in GLBasic?

Robin
Title: Re: PocketPC buttons
Post by: Kitty Hello on 2009-Mar-12
I have not found a solution to access these 2 keys, yet. It's a real problem. On some phones they work, but not on all.