stuff for getting input devices and enabling/disabling trackpad