GXGetDefaultKeys

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

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

Smartphone: Windows Mobile 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

Last updated on Friday, April 22, 2005

© 2005 Microsoft Corporation. All rights reserved.

Send feedback on this topic to the authors.