Add optional mouse support

Disabled by default