fixing docs enum
This commit is contained in:
@ -4,25 +4,25 @@
|
||||
|
||||
|
||||
```cards
|
||||
input.onButtonPressed(.Button, () => {
|
||||
input.onButtonPressed(Button.A, () => {
|
||||
|
||||
});
|
||||
input.onGesture(.Gesture, () => {
|
||||
input.onGesture(Gesture.Shake, () => {
|
||||
|
||||
});
|
||||
input.onPinPressed(.TouchPin, () => {
|
||||
input.onPinPressed(TouchPin.P0, () => {
|
||||
|
||||
});
|
||||
input.buttonIsPressed(.Button);
|
||||
input.buttonIsPressed(Button.A);
|
||||
input.compassHeading();
|
||||
input.temperature();
|
||||
input.acceleration(.Dimension);
|
||||
input.acceleration(Dimension.X);
|
||||
input.lightLevel();
|
||||
input.rotation(.Rotation);
|
||||
input.magneticForce(.Dimension);
|
||||
input.rotation(Rotation.Pitch);
|
||||
input.magneticForce(Dimension.X);
|
||||
input.runningTime();
|
||||
input.setAccelerometerRange(.AcceleratorRange);
|
||||
input.pinIsPressed(.TouchPin);
|
||||
input.setAccelerometerRange(AcceleratorRange.OneG);
|
||||
input.pinIsPressed(TouchPin.P0);
|
||||
input.calibrate();
|
||||
input.onLogoDown(() => {
|
||||
|
||||
|
Reference in New Issue
Block a user