forked from Vegz78/micro-bit-game-pad
-
Notifications
You must be signed in to change notification settings - Fork 0
/
shims.d.ts
23 lines (19 loc) · 832 Bytes
/
shims.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Auto-generated. Do not edit.
declare namespace bluetooth {
/**
* A function to start bluetooth Joystick service
*/
//% blockId=bluetooth_startJoystickService block="bluetooth startJoystickService" shim=bluetooth::startJoystickService
function startJoystickService(): void;
/**
* A function to press joystick button
*/
//% blockId=bluetooth_pressJoystickButton block="bluetooth press joystick button %button" shim=bluetooth::pressJoystickButton
function pressJoystickButton(button: JoystickButton): void;
/**
* A function to sent joystick speed
*/
//% blockId=bluetooth_sendMovement block="bluetooth send joystick speed %x %y %z" shim=bluetooth::sendMovement
function sendMovement(x: int32, y: int32, z: int32): void;
}
// Auto-generated. Do not edit. Really.