A global utility for tracking the current input method (mouse, keyboard or touch).
github.com/ten1seven/what-input
ten1seven/what-input