# KeypadInputTrait.Feature

# KeypadInputTrait.Feature


```
data class KeypadInputTrait.Feature
```

<br />

*** ** * ** ***

KeypadInput cluster FeatureMap.

## Summary

| ### Public constructors |
|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/KeypadInputTrait.Feature#Feature(kotlin.Boolean,kotlin.Boolean,kotlin.Boolean)( navigationKeyCodes: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html, locationKeys: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html, numberKeys: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html )` Creates the Feature data class. |

| ### Public functions |
|---|---|
| `open https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-long/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/KeypadInputTrait.Feature#toRaw()()` Convert this ClusterBitmap to raw (bytes) format |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/KeypadInputTrait.Feature#locationKeys()` Supports CEC keys `0x0A` (Settings) and `0x09` (Home). |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/KeypadInputTrait.Feature#navigationKeyCodes()` Supports UP, DOWN, LEFT, RIGHT, SELECT, BACK, EXIT, and MENU keys. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/KeypadInputTrait.Feature#numberKeys()` Supports numeric input keys from 0 through 9. |

## Public constructors

### Feature

```
Feature(
    navigationKeyCodes: Boolean = false,
    locationKeys: Boolean = false,
    numberKeys: Boolean = false
)
```

Creates the Feature data class.

## Public functions

### toRaw

```
open fun toRaw(): ULong
```

Convert this ClusterBitmap to raw (bytes) format

## Public properties

### locationKeys

```
val locationKeys: Boolean
```

Supports CEC keys `0x0A` (Settings) and `0x09` (Home).

### navigationKeyCodes

```
val navigationKeyCodes: Boolean
```

Supports UP, DOWN, LEFT, RIGHT, SELECT, BACK, EXIT, and MENU keys.

### numberKeys

```
val numberKeys: Boolean
```

Supports numeric input keys from 0 through 9.