# SensorKind

`import { SensorKind } from "destack:input/binding";`

Input sensor kind.

```ds title="SensorKind"
export enum SensorKind {
    Accelerometer = 1,
    Gyroscope = 2,
    Magnetometer = 3,
    Gravity = 4,
    LinearAcceleration = 5,
    Orientation = 6,
    Barometer = 7,
    AmbientLight = 8,
    Proximity = 9,
    StepCounter = 10,
}
```

[language/library/src/input/binding/sensor.ds:6:27](https://github.com/destack-sh/destack/blob/main/language/library/src/input/binding/sensor.ds#L6-L27)

## Variants

### `Accelerometer = 1`

Acceleration including gravity in meters per second squared.

### `Gyroscope = 2`

Angular velocity in radians per second.

### `Magnetometer = 3`

Magnetic field in microtesla.

### `Gravity = 4`

Gravity vector in meters per second squared.

### `LinearAcceleration = 5`

Linear acceleration without gravity in meters per second squared.

### `Orientation = 6`

Orientation quaternion.

### `Barometer = 7`

Barometric pressure in hectopascal.

### `AmbientLight = 8`

Ambient light level in lux.

### `Proximity = 9`

Proximity distance in centimeters.

### `StepCounter = 10`

Step count since the host-defined epoch.
