GXKeyList
The GXKeyList structure provides information about the default hardware button assignments.
Syntax
struct GXKeyList {
short vkUp;
POINT ptUp;
Short vkDown;
POINT ptDown;
Short vkLeft;
POINT ptLeft;
Short vkRight;
POINT ptRight;
Short vkA;
POINT ptA;
Short vkB;
POINT ptB;
Short vkC;
POINT ptC;
Short vkStart;
POINT ptStart;
};
Members
- vkUp
Virtual key code of the best key to use for "up." - ptUp
x,y position of key or button. The position is in the screen coordinates, not on the screen. - vkDown
Virtual key code of the best key to use for "down." - ptDown
x,y position of key or button. The position is in the screen coordinates, not on the screen. - vkLeft
Virtual key code of the best key to use for "left." - ptLeft
x,y position of key or button. The position is in the screen coordinates, not on the screen. - vkRight
Virtual key code of the best key to use for "right." - ptRight
x,y position of key or button. The position is in the screen coordinates, not on the screen. - vkA
Virtual key code to use for the primary action button — usually the "shoot" or "jump" button in a game. - ptA
x,y position of key or button. The position is in the screen coordinates, not on the screen. - vkB
Best key for the secondary action button. - ptB
x,y position of key or button. The position is in the screen coordinates, not on the screen. - vkC
Best key for the tertiary action button; also could be used for the "select" button. - ptC
x,y position of key or button. The position is in the screen coordinates, not on the screen. - vkStart
Best key for starting or pausing a game. - ptStart
x,y position of key or button. The position is in the screen coordinates, not on the screen.
Remarks
The POINT values in the structure refer to the physical location of the button on the device in screen coordinates.
Requirements
Pocket PC: Windows Mobile 2000 and later
OS Versions: Windows CE 3.0 and later
Header: gx.h
Library: gx.lib
See Also
Windows Mobile Game Programming
Send feedback on this topic to the authors.
© 2005 Microsoft Corporation. All rights reserved.