Add LED support

This commit is contained in:
Michal Moskal
2017-07-05 12:27:54 +01:00
parent 9f8377f893
commit 0aeba646bd
3 changed files with 69 additions and 2 deletions

18
libs/core/enums.d.ts vendored
View File

@ -16,4 +16,22 @@
Down = 4,
}
/**
* Patterns for lights under the buttons.
*/
declare enum LightsPattern {
Off = 0, // LED_BLACK
Green = 1, // LED_GREEN
Red = 2, // LED_RED
Orange = 3, // LED_ORANGE
GreenFlash = 4, // LED_GREEN_FLASH
RedFlash = 5, // LED_RED_FLASH
OrangeFlash = 6, // LED_ORANGE_FLASH
GreenPulse = 7, // LED_GREEN_PULSE
RedPulse = 8, // LED_RED_PULSE
OrangePulse = 9, // LED_ORANGE_PULSE
}
// Auto-generated. Do not edit. Really.