title: Whitelist specific input device types
body: <p>I need a way to check a KeyEvent to see what type it is. I want to exclude everything except a device's (SmartPhone/Tables) own hardware/capacitive buttons. No mouse, no BT keyboards or game pads etc. I only want to interact with it's own buttons. Is this possible? </p>