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><CODE>$REVOLUTION_SDK_ROOT/build/demos/kprdemo</CODE></P> 15 16<H2>Compilation</H2> 17<P>Navigate to the <CODE>$REVOLUTION_SDK_ROOT/build/demos/kprdemo</CODE> directory and enter '<CODE>make</CODE>'. Executable (<CODE>.elf</CODE>) files will be generated under the path <CODE>$REVOLUTION_SDK_ROOT/RVL/bin/demos/kprdemo/</CODE>.</P> 18 19<H2>Execution</H2> 20<P>This demo requires a USB keyboard to function. It also require a GameCube controller.</P> 21<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> 22 23<H2>Description</H2> 24<TABLE class="demo_list" border="1" > 25<tr bgcolor="#c0c0c0"><td><p>Name</p></td><td><p>Description</p></td></tr> 26 <TR> 27<TH>kprdemo</TH> 28 <TD> 29<P>Shows how to use the KPR library in combination with the KBD library.</P> 30<P>Use Nintendo GameCube Controller A Button to set the next country for the keyboard.</P> 31<P>Use Nintendo GameCube Controller B Button to set the previous country for the keyboard.</P> 32<P>Use Nintendo GameCube Controller X Button to change the keyboard channel affected by A or B Button.</P> 33<P>Use Nintendo GameCube Controller Y Button to print a sample UTF-8 string. This is for making sure that your terminal program gives you proper UTF-8 output.</P> 34<P>For Greek layout, typing Alt+Space changes languages.</p> 35 </TD> 36 </TR> 37</TABLE> 38 39<H2>See Also</H2> 40<P class="reference"> 41<A HREF="../list.html">KPR Functions</A> 42</P> 43 44<H2>Revision History</H2> 45<P> 462007/04/24 Initial version.<br> 47</P> 48 49<hr><p>CONFIDENTIAL</p></body> 50</HTML> 51