GXGetDefaultKeys

Send Feedback

The GXGetDefaultKeys function returns a list of virtual key codes that defines the best control layout for a game.

Note   GAPI is deprecated. Use DirectDraw and Direct3D Mobile APIs instead.

Syntax

GXDLL_API GXKeyList GXGetDefaultKeys (
  int iOptions
);

Parameters

  • iOptions
    Sets control layout to either landscape or portrait orientation. Must be one of the flags described in the following table.
    Flag Description
    GX_NORMALKEYS Portrait orientation
    GX_LANDSCAPEKEYS Landscape orientation

Return Values

Returns a fully populated GXKeyList structure.

Requirements

Pocket PC: Pocket PC 2000 and later
Smartphone: Smartphone 2002 and later
OS Versions: Windows CE 3.0 and later
Header: gx.h
Library: gx.lib

See Also

GAPI Functions | Windows Mobile Game Programming

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.