led.h

Go to the documentation of this file.
00001 /*
00002  * Copyright (c) 2010 Lubos Slovak
00003  * All rights reserved.
00004  *
00005  * Redistribution and use in source and binary forms, with or without
00006  * modification, are permitted provided that the following conditions
00007  * are met:
00008  *
00009  * - Redistributions of source code must retain the above copyright
00010  *   notice, this list of conditions and the following disclaimer.
00011  * - Redistributions in binary form must reproduce the above copyright
00012  *   notice, this list of conditions and the following disclaimer in the
00013  *   documentation and/or other materials provided with the distribution.
00014  * - The name of the author may not be used to endorse or promote products
00015  *   derived from this software without specific prior written permission.
00016  *
00017  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
00018  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
00019  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
00020  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
00021  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
00022  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
00023  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
00024  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
00025  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
00026  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00027  */
00028 
00035 #ifndef LIBUSBHID_UTLED_H_
00036 #define LIBUSBHID_UTLED_H_
00037 
00038 typedef enum {
00039         USB_HID_LED_UNDEFINED = 0,
00040         USB_HID_LED_NUM_LOCK,
00041         USB_HID_LED_CAPS_LOCK,
00042         USB_HID_LED_SCROLL_LOCK,
00043         USB_HID_LED_COMPOSE,
00044         USB_HID_LED_KANA,
00045         USB_HID_LED_POWER,
00046         USB_HID_LED_SHIFT,
00047         USB_HID_LED_DND,
00048         USB_HID_LED_MUTE,
00049         USB_HID_LED_TONE_ENABLE,
00050         USB_HID_LED_HIGH_CUT_FILTER,
00051         USB_HID_LED_LOW_CUT_FILTER,
00052         USB_HID_LED_EQ_ENABLE,
00053         USB_HID_LED_SOUND_FIELD_ON,
00054         USB_HID_LED_SURROUND_ON,
00055         USB_HID_LED_REPEAT,
00056         USB_HID_LED_STEREO,
00057         USB_HID_LED_SAMPLING_RATE_DETECT,
00058         USB_HID_LED_SPINNING,
00059         USB_HID_LED_CAV,
00060         USB_HID_LED_CLV,
00061         USB_HID_LED_RECORDING_FORMAT_DETECT,
00062         USB_HID_LED_OFF_HOOK,
00063         USB_HID_LED_RING,
00064         USB_HID_LED_MESSAGE_WAITING,
00065         USB_HID_LED_DATA_MODE,
00066         USB_HID_LED_BATTERY_OPERATION,
00067         USB_HID_LED_BATTERY_OK,
00068         USB_HID_LED_BATTERY_LOW,
00069         USB_HID_LED_SPEAKER,
00070         USB_HID_LED_HEAD_SET,
00071         USB_HID_LED_HOLD,
00072         USB_HID_LED_MICRO,
00073         USB_HID_LED_COVERAGE,
00074         USB_HID_LED_NIGHT_MODE,
00075         USB_HID_LED_SEND_CALLS,
00076         USB_HID_LED_CALL_PICKUP,
00077         USB_HID_LED_CONFERENCE,
00078         USB_HID_LED_STAND_BY,
00079         USB_HID_LED_CAMERA_ON,
00080         USB_HID_LED_CAMERA_OFF,
00081         USB_HID_LED_ON_LINE,
00082         USB_HID_LED_OFF_LINE,
00083         USB_HID_LED_BUSY,
00084         USB_HID_LED_READY,
00085         USB_HID_LED_PAPER_OUT,
00086         USB_HID_LED_PAPER_JAM,
00087         USB_HID_LED_REMOTE,
00088         USB_HID_LED_FORWARD,
00089         USB_HID_LED_REVERSE,
00090         USB_HID_LED_STOP,
00091         USB_HID_LED_REWIND,
00092         USB_HID_LED_FAST_FORWARD,
00093         USB_HID_LED_PLAY,
00094         USB_HID_LED_PAUSE,
00095         USB_HID_LED_RECORD,
00096         USB_HID_LED_ERROR,
00097         USB_HID_LED_USAGE_SELECTED_IND,
00098         USB_HID_LED_USAGE_IN_USE_IND,
00099         USB_HID_LED_USAGE_MULTI_MODE_IND,
00100         USB_HID_LED_IND_ON,
00101         USB_HID_LED_IND_FLASH,
00102         USB_HID_LED_IND_SLOW_BLINK,
00103         USB_HID_LED_IND_FAST_BLINK,
00104         USB_HID_LED_IND_OFF,
00105         USB_HID_LED_FLASH_ON_TIME,
00106         USB_HID_LED_SLOW_BLINK_ON_TIME,
00107         USB_HID_LED_SLOW_BLINK_OFF_TIME,
00108         USB_HID_LED_FAST_BLINK_ON_TIME,
00109         USB_HID_LED_FAST_BLINK_OFF_TIME,
00110         USB_HID_LED_USAGE_IND_COLOR,
00111         USB_HID_LED_IND_RED,
00112         USB_HID_LED_IND_GREEN,
00113         USB_HID_LED_IND_AMBER,
00114         USB_HID_LED_GENERIC_IND,
00115         USB_HID_LED_SYSTEM_SUSPEND,
00116         USB_HID_LED_EXTERNAL_POWER
00117 } usb_hid_usage_led_t;
00118 
00119 #endif /* LIBUSB_UTLED_H_ */
00120 

Generated on Thu Jun 2 07:45:48 2011 for HelenOS/USB by  doxygen 1.4.7