> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Accelerometer

> Accelerometer (Experimental)

A sensor control that maps the devices accelerometer of the client device (if available) to a specified set of axes.

> [!WARNING]
>
> The accelerometer control is currently available for use in experimental form and may change behavior based on early adopter feedback.

## Properties

`type` - "accelerometer"

`axis` - *object* or *array*. A single [axis](https://docs.xbox.com/reference/system/touchadaptationkit/types/game-streaming-touch-axis.md) or array of [axes](https://docs.xbox.com/reference/system/touchadaptationkit/types/game-streaming-touch-axis.md) that describe the mapping of this touchpad control.

## Remarks

> [!WARNING]
>
> The accelerometer control may not be available on all devices that support touch layouts.

The `accelerometer` control can be used to provide an optimized experience on devices that can provide accelerometer support.

## Samples

```JSON theme={null}
Map the acceleration of the device to the right joystick's Y axis, using a specified sensitivity.
{
    "type": "accelerometer",
    "axis": {
        "input": "axisY",
        "output": "rightJoystick",
        "sensitivity": 3.5
    },
}
```

## Requirements

**Layout Version:** 1.0+


## Related topics

- [Touch Adaptation Kit](https://docs.xbox.com/reference/system/touchadaptationkit/touchadaptationkit-reference.md)
- [Touch Adaptation Kit (TAK) Reference](https://docs.xbox.com/build/core-features/common/game-streaming/game-streaming-touch-touch-adaptation-kit-overview.md)
- [ResponseCurve](https://docs.xbox.com/reference/system/touchadaptationkit/types/game-streaming-touch-responsecurve.md)
- [Axis](https://docs.xbox.com/reference/system/touchadaptationkit/types/game-streaming-touch-axis.md)
- [Deadzone](https://docs.xbox.com/reference/system/touchadaptationkit/types/game-streaming-touch-deadzone.md)
