Browse Source

Compile fixes on input-overhaul branch

rdb 7 years ago
parent
commit
ada3fa5513
2 changed files with 1 additions and 1 deletions
  1. 0 1
      panda/src/device/evdevInputDevice.cxx
  2. 1 0
      panda/src/device/inputDeviceManager.cxx

+ 0 - 1
panda/src/device/evdevInputDevice.cxx

@@ -673,7 +673,6 @@ process_events() {
   int y = _pointer_data.get_y();
   bool have_pointer = false;
   double time = ClockObject::get_global_clock()->get_frame_time();
-  ButtonHandle button;
   int index;
 
   // It seems that some devices send a single EV_SYN event when being

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

@@ -16,6 +16,7 @@
 #include "linuxInputDeviceManager.h"
 #include "winInputDeviceManager.h"
 #include "throw_event.h"
+#include "config_putil.h"
 
 InputDeviceManager *InputDeviceManager::_global_ptr = nullptr;