# InputButton

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

Input button descriptor.

```ds title="InputButton"
export struct InputButton {
    code: uint32;
    isAnalog: boolean;
}
```

[language/library/src/input/binding/device.ds:133:138](https://github.com/destack-sh/destack/blob/main/language/library/src/input/binding/device.ds#L133-L138)

## Members

### `code: uint32`

Host-native button code.

### `isAnalog: boolean`

Whether this button reports analog values.
