# Interface: InputHost

Defined in: [input.ts:20](https://github.com/debuffjp/debuff/blob/4f0ae1091cc5ab837e28b1efc93d4aed7342f621/packages/input/src/input.ts#L20)

The parts of `Game` that `Input` uses.

## Properties

### canvas

> **canvas**: `HTMLElement`

Defined in: [input.ts:21](https://github.com/debuffjp/debuff/blob/4f0ae1091cc5ab837e28b1efc93d4aed7342f621/packages/input/src/input.ts#L21)

***

### hooks

> **hooks**: `object`

Defined in: [input.ts:23](https://github.com/debuffjp/debuff/blob/4f0ae1091cc5ab837e28b1efc93d4aed7342f621/packages/input/src/input.ts#L23)

#### afterUpdate()

> **afterUpdate**(`fn`): () => `void`

##### Parameters

###### fn

(`dt`) => `void`

##### Returns

() => `void`

#### splashEnd()?

> `optional` **splashEnd**(`fn`): () => `void`

The splash ended (`@debuffjp/core` 0.31.1 and later): input made during it is dropped.

##### Parameters

###### fn

() => `void`

##### Returns

() => `void`

***

### toLogical

> **toLogical**: [`ToLogical`](../type-aliases/ToLogical.md)

Defined in: [input.ts:22](https://github.com/debuffjp/debuff/blob/4f0ae1091cc5ab837e28b1efc93d4aed7342f621/packages/input/src/input.ts#L22)
