java - Whitelist specific input device types -
i need way check keyevent see type is. want exclude except device's (smartphone/tables) own hardware/capacitive buttons. no mouse, no bt keyboards or game pads etc. want interact it's own buttons. possible?
i think can use getdeviceid() keyevent. if comes 0 it's supposed device itself.
i don't know how reliable is, though.
Comments
Post a Comment