# GamepadTouch

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

Gamepad touch contact state.

```ds title="GamepadTouch"
export struct GamepadTouch {
    touchId: uint32;
    surfaceId: uint32;
    x: float64;
    y: float64;
    pressure: float64;
}
```

[language/library/src/input/binding/gamepad.ds:78:89](https://github.com/destack-sh/destack/blob/main/language/library/src/input/binding/gamepad.ds#L78-L89)

## Members

### `touchId: uint32`

Touch identifier in host contact space.

### `surfaceId: uint32`

Touch surface identifier.

### `x: float64`

Normalized x coordinate in the range `[-1, 1]` when reported by the host.

### `y: float64`

Normalized y coordinate in the range `[-1, 1]` when reported by the host.

### `pressure: float64`

Normalized pressure in the range `[0, 1]` when reported by the host.
