1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
6<META name="GENERATOR" content="Microsoft FrontPage 5.0">
7<META http-equiv="Content-Style-Type" content="text/css">
8<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css">
9<title>KBDResetChannel</title>
10</head>
11
12<body>
13
14<h1>KBDResetChannel</h1>
15
16<h2>Syntax</h2>
17<dl><dd><pre class="construction">
18#include &lt;revolution/kbd.h&gt;
19
20KBDEc KBDResetChannel (KBDChannel ch);
21</pre></dd></dl>
22
23<h2>Arguments</h2>
24<TABLE class="arguments" border="1" >
25  <tr>
26<TH>ch</TH>
27<TD>Keyboard channel to reset.</TD>
28  </tr>
29  </TABLE>
30
31<h2>Return Values</h2>
32<TABLE class="arguments" border="1" >
33  <tr>
34<TH>KBDEc</TH>
35<TD>Keyboard error code.<br><code>KBD_SUCCESS</code> if the call was successful.<br><code>KBD_ERR_NOT_INITIALIZED</code> if the library was not initialized.<br><code>KBD_ERR_BAD_VALUE</code> if <SPAN class="argument">ch</SPAN> was out of range.<br>
36    </TD>
37  </tr>
38</TABLE>
39
40<h2>Description</h2>
41<p>Resets the keyboard on channel <SPAN class="argument">ch</SPAN>. This will clear the modifier key state, repeat action, and key buffer. </p>
42
43<h2>See Also</h2>
44<P class="reference">
45<a href="list.html">Keyboard API Function List</a>
46</p>
47
48<h2>Revision History</h2>
49<P>
502007/03/19 Initial version. <br>
51</p>
52
53<hr><p>CONFIDENTIAL</p></body>
54</HTML>