support for 3g/6g gestures

This commit is contained in:
Peli de Halleux
2016-05-20 05:39:44 -07:00
parent 9c96591edd
commit 7273354944
2 changed files with 25 additions and 1 deletions

View File

@ -105,6 +105,16 @@ declare namespace basic {
*/
//% block="free fall"
FreeFall = 7, // MICROBIT_ACCELEROMETER_EVT_FREEFALL
/**
* Raised when a 3G shock is detected
*/
//% block="3g"
ThreeG = 8, // MICROBIT_ACCELEROMETER_EVT_3G
/**
* Raised when a 6G shock is detected
*/
//% block="6g"
SixG = 9, // MICROBIT_ACCELEROMETER_EVT_6G
}
declare namespace input {
}