Add button support
This commit is contained in:
19
libs/core/enums.d.ts
vendored
Normal file
19
libs/core/enums.d.ts
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
// 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,
|
||||
}
|
||||
|
||||
// Auto-generated. Do not edit. Really.
|
Reference in New Issue
Block a user