KBDGetCountry

Syntax

#include <revolution/kbd.h>

KBDEc KBDGetCountry (KBDChannel ch, KBDCountryCode* country);

Arguments

ch Keyboard channel to query.
country Pointer to a KBDCountryCode variable for storing the country code.

Return Values

KBDEc Keyboard error code.
KBD_SUCCESS if the call was successful.
KBD_ERR_NOT_INITIALIZED if the library was not initialized.
KBD_ERR_BAD_VALUE if ch was out of range.
KBD_ERR_BAD_POINTER if country is not a valid pointer.

Description

Gets the country code of the language map used with the USB keyboard on channel ch. The returned country code is written to the area pointed to by country.

See Also

Keyboard API Function List

Revision History

2007/03/19 Initial version.


CONFIDENTIAL