HIDError

Structure

#include <revolution/hid.h>
typedef s32 HIDError;

#define HID_ERROR_OK
#define HID_ERROR_NOT_OPEN
#define HID_ERROR_ALREADY_OPEN
#define HID_ERROR_FIRMWARE_VERSION
#define HID_ERROR_FIRMWARE_MALFUNCTION
#define HID_ERROR_BUSY

Description

HIDError gives the type definitions for the error codes displayed when the HID API functions are being used.

HID_ERROR_OK The function was successful. There is no error.
HID_ERROR_NOT_OPEN The HID library is not open.
HID_ERROR_ALREADY_OPEN The HID library is already open.
HID_ERROR_FIRMWARE_VERSION The HID library requires a different version of the firmware.
HID_ERROR_FIRMWARE_MALFUNCTION The HID library has received an error from the firmware.
HID_ERROR_BUSY The HID library is busy. This occurs when the message queue inside the library is full. When this error occurs, do not call HID library functions from the interrupt handler.

Revision History

2008/09/24 Initial version.



CONFIDENTIAL