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

# Accelerometer (Experimental)

> Accelerometer (Experimental)

# 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.</Warning>

## Properties

`type` - "accelerometer"

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

## Remarks

<Warning>The accelerometer control may not be available on all devices that support touch layouts.</Warning>

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 (TAK) Reference](/build/core-features/common/game-streaming/game-streaming-touch-touch-adaptation-kit-overview.md)
- [D3D12EnableExperimentalFeatures](/reference/graphics/d3d12/functions/d3d12enableexperimentalfeatures_public.md)
- [Touch Adaptation Kit](/reference/system/touchadaptationkit/touchadaptationkit-reference.md)
- [GameInputSensorsKind](/reference/input/gameinput/enums/gameinputsensorskind.md)
- [IGameInputReading::GetMotionState](/reference/input/gameinput/deprecated/interfaces/igameinputreading/methods/igameinputreading_getmotionstate.md)
