# CarInputManager

Summary:[Constants](https://developer.android.com/reference/android/car/input/CarInputManager#constants)\|[Inherited Methods](https://developer.android.com/reference/android/car/input/CarInputManager#inhmethods)  

# CarInputManager

`
public

final

class
CarInputManager
`  
`

extends Object


``


`

|---|-----------------------------------|
| java.lang.Object                     ||
| ↳ | android.car.input.CarInputManager |

<br />

*** ** * ** ***

This API allows capturing selected input events.

## Summary

|                                                                                                                                         ### Constants                                                                                                                                          ||
|-------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `int` | [INPUT_TYPE_CUSTOM_INPUT_EVENT](https://developer.android.com/reference/android/car/input/CarInputManager#INPUT_TYPE_CUSTOM_INPUT_EVENT) This is for`HW_CUSTOM_INPUT`events.                                                                                                            |
| `int` | [INPUT_TYPE_DPAD_KEYS](https://developer.android.com/reference/android/car/input/CarInputManager#INPUT_TYPE_DPAD_KEYS) This is the group of keys for DPAD.                                                                                                                              |
| `int` | [INPUT_TYPE_NAVIGATE_KEYS](https://developer.android.com/reference/android/car/input/CarInputManager#INPUT_TYPE_NAVIGATE_KEYS) This is for all`KeyEvent#KEYCODE_NAVIGATE_*`keys and[KeyEvent.KEYCODE_BACK](https://developer.android.com/reference/android/view/KeyEvent#KEYCODE_BACK). |
| `int` | [INPUT_TYPE_NONE](https://developer.android.com/reference/android/car/input/CarInputManager#INPUT_TYPE_NONE) This is for displays that don't support any input type                                                                                                                     |
| `int` | [INPUT_TYPE_ROTARY_NAVIGATION](https://developer.android.com/reference/android/car/input/CarInputManager#INPUT_TYPE_ROTARY_NAVIGATION) This covers rotary input device for navigation.                                                                                                  |
| `int` | [INPUT_TYPE_ROTARY_VOLUME](https://developer.android.com/reference/android/car/input/CarInputManager#INPUT_TYPE_ROTARY_VOLUME) Volume knob.                                                                                                                                             |
| `int` | [INPUT_TYPE_SYSTEM_NAVIGATE_KEYS](https://developer.android.com/reference/android/car/input/CarInputManager#INPUT_TYPE_SYSTEM_NAVIGATE_KEYS) This is for all`KeyEvent#KEYCODE_SYSTEM_NAVIGATE_*`keys.                                                                                   |
| `int` | [INPUT_TYPE_TOUCH_SCREEN](https://developer.android.com/reference/android/car/input/CarInputManager#INPUT_TYPE_TOUCH_SCREEN) This is for touch mode input type.                                                                                                                         |

| ### Inherited methods |
|-----------------------|---|
| From class` java.lang.Object ` |-------------------|-------------------------------| | ` Object`         | ` clone() `                   | | ` boolean`        | ` equals(Object arg0) `       | | ` void`           | ` finalize() `                | | ` final Class<?>` | ` getClass() `                | | ` int`            | ` hashCode() `                | | ` final void`     | ` notify() `                  | | ` final void`     | ` notifyAll() `               | | ` String`         | ` toString() `                | | ` final void`     | ` wait(long arg0, int arg1) ` | | ` final void`     | ` wait(long arg0) `           | | ` final void`     | ` wait() `                    | ||

## Constants

### INPUT_TYPE_CUSTOM_INPUT_EVENT

```
public static final int INPUT_TYPE_CUSTOM_INPUT_EVENT
```

This is for`HW_CUSTOM_INPUT`events.

<br />

Constant Value: 200 (0x000000c8)  

### INPUT_TYPE_DPAD_KEYS

```
public static final int INPUT_TYPE_DPAD_KEYS
```

This is the group of keys for DPAD. Included key events are:[KeyEvent.KEYCODE_DPAD_UP](https://developer.android.com/reference/android/view/KeyEvent#KEYCODE_DPAD_UP),[KeyEvent.KEYCODE_DPAD_DOWN](https://developer.android.com/reference/android/view/KeyEvent#KEYCODE_DPAD_DOWN),[KeyEvent.KEYCODE_DPAD_LEFT](https://developer.android.com/reference/android/view/KeyEvent#KEYCODE_DPAD_LEFT),[KeyEvent.KEYCODE_DPAD_RIGHT](https://developer.android.com/reference/android/view/KeyEvent#KEYCODE_DPAD_RIGHT),[KeyEvent.KEYCODE_DPAD_CENTER](https://developer.android.com/reference/android/view/KeyEvent#KEYCODE_DPAD_CENTER),[KeyEvent.KEYCODE_DPAD_DOWN_LEFT](https://developer.android.com/reference/android/view/KeyEvent#KEYCODE_DPAD_DOWN_LEFT),[KeyEvent.KEYCODE_DPAD_DOWN_RIGHT](https://developer.android.com/reference/android/view/KeyEvent#KEYCODE_DPAD_DOWN_RIGHT),[KeyEvent.KEYCODE_DPAD_UP_LEFT](https://developer.android.com/reference/android/view/KeyEvent#KEYCODE_DPAD_UP_LEFT),[KeyEvent.KEYCODE_DPAD_UP_RIGHT](https://developer.android.com/reference/android/view/KeyEvent#KEYCODE_DPAD_UP_RIGHT)

<br />

Constant Value: 100 (0x00000064)  

### INPUT_TYPE_NAVIGATE_KEYS

```
public static final int INPUT_TYPE_NAVIGATE_KEYS
```

This is for all`KeyEvent#KEYCODE_NAVIGATE_*`keys and[KeyEvent.KEYCODE_BACK](https://developer.android.com/reference/android/view/KeyEvent#KEYCODE_BACK).

<br />

Constant Value: 101 (0x00000065)  

### INPUT_TYPE_NONE

```
public static final int INPUT_TYPE_NONE
```

This is for displays that don't support any input type

<br />

Constant Value: -1 (0xffffffff)  

### INPUT_TYPE_ROTARY_NAVIGATION

```
public static final int INPUT_TYPE_ROTARY_NAVIGATION
```

This covers rotary input device for navigation.

<br />

Constant Value: 10 (0x0000000a)  

### INPUT_TYPE_ROTARY_VOLUME

```
public static final int INPUT_TYPE_ROTARY_VOLUME
```

Volume knob.

<br />

Constant Value: 11 (0x0000000b)  

### INPUT_TYPE_SYSTEM_NAVIGATE_KEYS

```
public static final int INPUT_TYPE_SYSTEM_NAVIGATE_KEYS
```

This is for all`KeyEvent#KEYCODE_SYSTEM_NAVIGATE_*`keys.

<br />

Constant Value: 102 (0x00000066)  

### INPUT_TYPE_TOUCH_SCREEN

```
public static final int INPUT_TYPE_TOUCH_SCREEN
```

This is for touch mode input type.

<br />

Constant Value: 210 (0x000000d2)