Key Processing (KPR) Sample Demos

Location

$CAFE_ROOT/system/src/demo/usb/kpr

Compilation

Go to the directory $CAFE_ROOT/system/src/demo/usb/kpr, type make. Executable files (RPX files) are generated under the path $CAFE_ROOT/system/bin/ghs/cafe/demo/kpr/.

Execution

To function, this demo requires a USB keyboard. It also requires a Wii Classic Controller. This demo outputs UTF-8 text to the console.

Description

NameDescription
kprdemo Shows how to use the KPR library in combination with the KBD library.

Use the A Button on the Wii Classic Controller to show the next keyboard country.

Use the B Button on the Wii Classic Controller to show the previous keyboard country.

Use the X Button on the Wii Classic Controller to set the keyboard channel displayed using the A Button or the B Button.

Use the Y Button on the Wii Classic Controller to print a sample UTF-8 string.

For the Greek layout, typing ALT+SPACE changes languages.

See Also

Key Processing API Function List

Revision History

2014/04/30 Fix for ALT+SPACE.
2013/05/08 Automated cleanup pass.
2011/12/21 Moved to Cafe SDK.
2007/04/24 Creation.


CONFIDENTIAL