namspace docs
This commit is contained in:
42
docs/reference/input.md
Normal file
42
docs/reference/input.md
Normal file
@ -0,0 +1,42 @@
|
||||
# Input
|
||||
|
||||
|
||||
|
||||
|
||||
```cards
|
||||
input.onButtonPressed(.Button, () => {
|
||||
|
||||
});
|
||||
input.onGesture(.Gesture, () => {
|
||||
|
||||
});
|
||||
input.onPinPressed(.TouchPin, () => {
|
||||
|
||||
});
|
||||
input.buttonIsPressed(.Button);
|
||||
input.compassHeading();
|
||||
input.temperature();
|
||||
input.acceleration(.Dimension);
|
||||
input.lightLevel();
|
||||
input.rotation(.Rotation);
|
||||
input.magneticForce(.Dimension);
|
||||
input.runningTime();
|
||||
input.setAccelerometerRange(.AcceleratorRange);
|
||||
input.pinIsPressed(.TouchPin);
|
||||
input.calibrate();
|
||||
input.onLogoDown(() => {
|
||||
|
||||
});
|
||||
input.onLogoUp(() => {
|
||||
|
||||
});
|
||||
input.onScreenDown(() => {
|
||||
|
||||
});
|
||||
input.onScreenUp(() => {
|
||||
|
||||
});
|
||||
input.onShake(() => {
|
||||
|
||||
});
|
||||
```
|
Reference in New Issue
Block a user