1<html>
2
3<head>
4<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
5<META http-equiv="Content-Style-Type" content="text/css">
6<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css">
7<title>HIDError</title>
8</head>
9
10<body>
11
12<h1>HIDError</h1>
13
14<h2>Structure</h2>
15
16<dl>
17<dd><pre><code>#include &lt;revolution/hid.h&gt;</code></pre>
18</dd>
19<dd><pre><code>typedef s32 HIDError;
20
21#define HID_ERROR_OK
22#define HID_ERROR_NOT_OPEN
23#define HID_ERROR_ALREADY_OPEN
24#define HID_ERROR_FIRMWARE_VERSION
25#define HID_ERROR_FIRMWARE_MALFUNCTION
26#define HID_ERROR_BUSY
27
28</code></pre>
29</dd>
30</dl>
31
32<h2>Description</h2>
33
34<p>The type definitions for the error codes displayed when the HID API functions are being used.
35
36<p><TABLE border="1" cellpadding="3" cellspacing="0.1">
37
38<tr>
39<td width="120" bgcolor="#ffffe8"><code><em><strong>HID_ERROR_OK</strong></em></code></td>
40<td width="520">
41The function was successful. There is no error.
42</td></tr>
43
44<tr>
45<td width="120" bgcolor="#ffffe8"><code><em><strong>HID_ERROR_NOT_OPEN</strong></em></code></td>
46<td width="520">
47The HID library is not open.
48</td></tr>
49
50<tr>
51<td width="120" bgcolor="#ffffe8"><code><em><strong>HID_ERROR_ALREADY_OPEN</strong></em></code></td>
52<td width="520">
53The HID library is already open.
54</td></tr>
55
56<tr>
57<td width="120" bgcolor="#ffffe8"><code><em><strong>HID_ERROR_FIRMWARE_VERSION</strong></em></code></td>
58<td width="520">
59The HID library requires a different version of the firmware.
60</td></tr>
61
62<tr>
63<td width="120" bgcolor="#ffffe8"><code><em><strong>HID_ERROR_FIRMWARE_MALFUNCTION</strong></em></code></td>
64<td width="520">
65The HID library has received an error from the firmware.
66</td></tr>
67
68<tr>
69<td width="120" bgcolor="#ffffe8"><code><em><strong>HID_ERROR_BUSY</strong></em></code></td>
70<td width="520">
71The HID library is busy. The user can try again later. This occurs when the message queue inside the library is full. When this error occurs, the interrupt handler should not call HID library API functions.</td></tr>
72
73</TABLE>
74
75<h2>Revision History</h2>
76
77<P>2008/09/24 Initial version.</p>
78
79<hr>
80
81<hr><p>CONFIDENTIAL</p></body>
82</HTML>