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
17<h2>C Specification</h2>
18
19<dl>
20<dd><pre><code>#include &lt;revolution/kbd.h&gt;</code></pre>
21  </dd>
22<dd><pre><code>KBDEc KBDResetChannel (KBDChannel ch);</code></pre>
23  </dd>
24</dl>
25
26<h2>Arguments</h2>
27
28<TABLE border="1" cellpadding="3" cellspacing="0.1">
29  <tr>
30<TD width="120" bgcolor="#ffffe8"><code><em><strong>ch</strong></em></code></TD>
31<TD width="520">Keyboard channel to reset.</TD>
32    </tr>
33  </TABLE>
34
35<h2>Return Values</h2>
36
37<TABLE border="1" cellpadding="3" cellspacing="0.1">
38  <tr>
39<TD width="120" bgcolor="#ffffe8"><code><em><strong>KBDEc</strong></em></code></TD>
40<TD width="520">Keyboard error code.<br><code>KBD_SUCCESS</code> if the call was successful. <code>KBD_ERR_NOT_INITIALIZED</code> if the library was not initialized.<br><code>KBD_ERR_BAD_VALUE</code> if <code>ch</code> is out of range.<br>
41</TD>
42    </tr>
43</TABLE>
44
45<h2>Description</h2>
46
47<p>Resets the keyboard on channel <code>ch</code>. This will clear the modifier key state, repeat action, and key buffer. </p>
48
49<h2>See Also</h2>
50
51<p><a href="list.html">Keyboard API Function List</a></p>
52
53<h2>Revision History</h2><p></p>
54
55<P>2007/03/19 Initial version.</p>
56
57</BODY>
58</HTML>