/* Standard LED colors */ #define LED_COLOR_ID_WHITE 0 #define LED_COLOR_ID_RED 1 #define LED_COLOR_ID_GREEN 2 #define LED_COLOR_ID_BLUE 3 #define LED_COLOR_ID_AMBER 4 #define LED_COLOR_ID_VIOLET 5 #define LED_COLOR_ID_YELLOW 6 #define LED_COLOR_ID_IR 7 #define LED_COLOR_ID_MULTI 8 /* For multicolor LEDs */ #define LED_COLOR_ID_RGB 9 /* For multicolor LEDs that can do arbitrary color,
so this would include RGBW and similar */ #define LED_COLOR_ID_PURPLE 10 #define LED_COLOR_ID_ORANGE 11 #define LED_COLOR_ID_PINK 12 #define LED_COLOR_ID_CYAN 13 #define LED_COLOR_ID_LIME 14 #define LED_COLOR_ID_MAX 15
/* Standard LED functions */ /* Keyboard LEDs, usually it would be input4::capslock etc. */ /* Obsolete equivalent: "shift-key-light" */ #define LED_FUNCTION_CAPSLOCK "capslock" #define LED_FUNCTION_SCROLLLOCK "scrolllock" #define LED_FUNCTION_NUMLOCK "numlock" #define LED_FUNCTION_FNLOCK "fnlock" /* Obsolete equivalents: "tpacpi::thinklight" (IBM/Lenovo Thinkpads),
"lp5523:kb{1,2,3,4,5,6}" (Nokia N900) */ #define LED_FUNCTION_KBD_BACKLIGHT "kbd_backlight"
/* System LEDs, usually found on system body.
platform::mute (etc) is sometimes seen, :mute would be better */ #define LED_FUNCTION_POWER "power" #define LED_FUNCTION_DISK "disk"
/* Obsolete: "platform:*:charging" (allwinner sun50i) */ #define LED_FUNCTION_CHARGING "charging" /* Used RGB notification LEDs common on phones. Obsolete equivalents: "status-led:{red,green,blue}" (Motorola Droid 4),
"lp5523:{r,g,b}" (Nokia N900) */ #define LED_FUNCTION_STATUS "status"
/* Used for player LEDs as found on game controllers from e.g. Nintendo, Sony. */ #define LED_FUNCTION_PLAYER1 "player-1" #define LED_FUNCTION_PLAYER2 "player-2" #define LED_FUNCTION_PLAYER3 "player-3" #define LED_FUNCTION_PLAYER4 "player-4" #define LED_FUNCTION_PLAYER5 "player-5"
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.