# MouseController

class in `gamepad-manager`, extends `Controller`

```js
import { MouseController } from 'gamepad-manager';
```

The mouse, with buttons `left`, `middle`, `right`, `back` and `forward`.

## Methods

### .getPosition

```js
.getPosition( target: Object ): Object
```

Gets the mouse position in CSS pixels from the window's top left.

- `target`, `Object`

### .getButtonName

```js
.getButtonName( name: string ): string
```

The button's printed name, e.g. `'Left Click'`.

- `name`, `string`
