---
title: "IInputManager | Customer's Canvas On-Premises"
canonical: "https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms-text/IInputManager/"
---

# IInputManager

> `Promise`\<[`ICommand`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms-text/ICommand.md#icommand)[]\>

## Interfaces

### IInputManager

#### Methods

##### processKeyboardEvent()

```ts
processKeyboardEvent(e): Promise<ICommand[]>;
```

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `e` | [`IKeyboardEvent`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms-text/IKeyboardEvent.md#ikeyboardevent) |

###### Returns

##### processMouseEvent()

```ts
processMouseEvent(e): ICommand[];
```

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `e` | [`IMouseEvent`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms-text/IMouseEvent.md#imouseevent) |

###### Returns

[`ICommand`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms-text/ICommand.md#icommand)[]
