pxt-jacdac/config.ts

27 строки
380 B
TypeScript
Исходник Обычный вид История

2020-06-10 03:51:50 +03:00
const enum JDDimension {
//% block=x
X = 0,
//% block=y
Y = 1,
//% block=z
Z = 2,
//% block=strength
2021-06-19 03:20:03 +03:00
Strength = 3,
2020-06-10 03:51:50 +03:00
}
const enum JDControllerCommand {
ClientButtons = 1,
ControlServer = 2,
2021-06-19 03:20:03 +03:00
ControlClient = 3,
2020-06-10 03:51:50 +03:00
}
const enum JDControllerButton {
A = 5,
B = 6,
Left = 1,
Up = 2,
Right = 3,
Down = 4,
2021-06-19 03:20:03 +03:00
Menu = 7,
2020-06-10 03:51:50 +03:00
}