1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2<HTML>
3<HEAD>
4<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=windows-1252">
5<TITLE>Key Processing (KPR) Sample Demos</TITLE>
6<META http-equiv="Content-Style-Type" content="text/css">
7<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css">
8</HEAD>
9<BODY LANG="en-US" TEXT="#000000" LINK="#000000" DIR="LTR">
10
11<H1>Key Processing (KPR) Sample Demos</H1>
12
13<H2>Location</H2>
14<P><FONT FACE="Courier New">$REVOLUTION_SDK_ROOT/build/demos/kprdemo</FONT></P>
15<H2>Compilation</H2>
16<P>Go to the directory <CODE>$REVOLUTION_SDK_ROOT/build/demos/kprdemo</CODE> and type <CODE>make</CODE>. Executable (<CODE>.elf</CODE>) files will be generated under the <CODE>$REVOLUTION_SDK_ROOT/RVL/bin/demos/kprdemo/</CODE> path.</P>
17<H2>Execution</H2>
18<P>This demo requires a USB keyboard to function. It also require a GameCube controller.</P>
19<p>This demo outputs UTF-8 text to the serial port. Please refer to the <a href="../../kbd/sampledemos/kbddemos.html">Execution notes for KBD demos</a> for more details on viewing the output.</p>
20<H2>Description</H2>
21
22<TABLE BORDER=1 CELLPADDING=3 CELLSPACING=0>
23<tr bgcolor="#c0c0c0"><td><p>Name</p></td><td><p>Description</p></td></tr>
24	<TR>
25		<TD>
26			<P><STRONG><CODE>kprdemo</CODE></STRONG></P>
27		</TD>
28		<TD>
29			<P>Shows how to use the KPR library in combination with the KBD library.</P>
30			<P>Use GameCube Pad Button A to set the next keyboard country.</P>
31			<P>Use GameCube Pad Button B to set the previous keyboard country.</P>
32			<P>Use GameCube Pad Button X to change the keyboard channel affected by Button A or B.</P>
33			<P>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.</P>
34			<P>For the Greek layout, typing Alt-Space changes languages.</p>
35		</TD>
36	</TR>
37</TABLE>
38
39<H2>See Also</H2>
40<P><A HREF="../list.html">KPR Functions</A></P>
41<H2>Revision History</H2>
42<P>2007/04/24 Initial version.</P>
43</BODY>
44</HTML>
45