# InputMode

Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/input/InputModeManager.kt+class:androidx.compose.ui.input.InputMode) Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.1.0) Common/All
- Cmn

  ```
  value class InputMode
  ```

*** ** * ** ***

This value is used to represent the InputMode that the system is currently in.

## Summary

| ### Public companion properties |
|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/input/InputMode` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/input/InputMode#Keyboard()` The system is put into `https://developer.android.com/reference/kotlin/androidx/compose/ui/input/InputMode#Keyboard()` mode when a user presses a hardware key. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/input/InputMode` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/input/InputMode#Touch()` The system is put into `https://developer.android.com/reference/kotlin/androidx/compose/ui/input/InputMode#Touch()` mode when a user touches the screen. | Cmn |

| ### Public functions |
|---|---|---|
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/input/InputMode#toString()()` | Cmn |

## Public companion properties

### Keyboard

Cmn Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.1.0)

```
val Keyboard: InputMode
```

The system is put into `https://developer.android.com/reference/kotlin/androidx/compose/ui/input/InputMode#Keyboard()` mode when a user presses a hardware key.

### Touch

Cmn Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.1.0)

```
val Touch: InputMode
```

The system is put into `https://developer.android.com/reference/kotlin/androidx/compose/ui/input/InputMode#Touch()` mode when a user touches the screen.

## Public functions

### toString

Cmn

```
open fun toString(): String
```