Browse Source

device: Don't try to access raw input devices an Android

Fixes a log warning
rdb 4 years ago
parent
commit
f79ef139ba
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/device/inputDeviceManager.cxx

+ 1 - 1
panda/src/device/inputDeviceManager.cxx

@@ -40,7 +40,7 @@ make_global_ptr() {
   _global_ptr = new WinInputDeviceManager;
 #elif defined(__APPLE__)
   _global_ptr = new IOKitInputDeviceManager;
-#elif defined(PHAVE_LINUX_INPUT_H)
+#elif defined(PHAVE_LINUX_INPUT_H) && !defined(ANDROID)
   _global_ptr = new LinuxInputDeviceManager;
 #else
   _global_ptr = new InputDeviceManager;