View Full Version : how to access the call and end call button
Anonymous
16-02-2003, 05:11 AM
how do you access the call and end call buttons? Using the GAPI when i go for A and B it gets the buttons up top which sucks for programming a game... any ideas?
Climber104
15-08-2005, 08:48 PM
i also am interested it doing this, any one have any insight? Possibly C# code, or C++?
Danny-B-
16-08-2005, 02:28 AM
If it helps the button codes i get from Pikup button is "114" and Hangup is "115"
notrash_2004
27-03-2008, 07:00 AM
If it helps the button codes i get from Pikup button is "114" and Hangup is "115"
hello
some keys on a wm device are always catched by the OS, see winuserm.h. To get these keys visible in your app you have to use the game api. Simply add gx.h to your c++ code and at the start of your app use GXOpenInput(). Before your app quits, use GXCloseInput. Aslong as your app runs in foreground, all keys will be delivered to your app. BTW: the phone keys are F1 and F2.
regards
josef
see also w*w.hjgode.de/dev/newsletter
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.