Key Processing (KPR) Sample Demos

Location

$REVOLUTION_SDK_ROOT/build/demos/kprdemo

Compilation

Go to the directory $REVOLUTION_SDK_ROOT/build/demos/kprdemo and type make. Executable (.elf) files will be generated under the $REVOLUTION_SDK_ROOT/RVL/bin/demos/kprdemo/ path.

Execution

This demo requires a USB keyboard to function. It also require a GameCube controller.

This demo outputs UTF-8 text to the serial port. Please refer to the Execution notes for KBD demos for more details on viewing the output.

Description

Name

Description

kprdemo

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

Use GameCube Pad Button A to set the next keyboard country.

Use GameCube Pad Button B to set the previous keyboard country.

Use GameCube Pad Button X to change the keyboard channel affected by Button A or B.

Use GameCube Pad Button Y to print a sample UTF-8 character string. This is for making sure that your terminal program gives you proper UTF-8 output.

For the Greek layout, typing Alt-Space changes languages.

See Also

KPR Functions

Revision History

2007/04/24 Initial version.