Move buttons to TS
This commit is contained in:
34
libs/core/enums.d.ts
vendored
34
libs/core/enums.d.ts
vendored
@ -1,40 +1,6 @@
|
||||
// Auto-generated. Do not edit.
|
||||
|
||||
|
||||
/**
|
||||
* User interaction on buttons
|
||||
*/
|
||||
|
||||
declare enum ButtonEvent {
|
||||
//% block="click"
|
||||
Click = 1,
|
||||
//% block="long click"
|
||||
LongClick = 2,
|
||||
//% block="up"
|
||||
Up = 3,
|
||||
//% block="down"
|
||||
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
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Drawing modes
|
||||
*/
|
||||
|
Reference in New Issue
Block a user