what-input

A global utility for tracking the current input method (mouse, keyboard or touch).

Browse on unpkg