Add button support

This commit is contained in:
Michal Moskal
2017-07-05 01:17:26 +01:00
parent ee6664c29c
commit f2d398909b
7 changed files with 313 additions and 3 deletions

19
libs/core/enums.d.ts vendored Normal file
View 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.