Browse Source

Compile fixes on input-overhaul branch

rdb 7 years ago
parent
commit
ada3fa5513

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

@@ -673,7 +673,6 @@ process_events() {
   int y = _pointer_data.get_y();
   int y = _pointer_data.get_y();
   bool have_pointer = false;
   bool have_pointer = false;
   double time = ClockObject::get_global_clock()->get_frame_time();
   double time = ClockObject::get_global_clock()->get_frame_time();
-  ButtonHandle button;
   int index;
   int index;
 
 
   // It seems that some devices send a single EV_SYN event when being
   // 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 "linuxInputDeviceManager.h"
 #include "winInputDeviceManager.h"
 #include "winInputDeviceManager.h"
 #include "throw_event.h"
 #include "throw_event.h"
+#include "config_putil.h"
 
 
 InputDeviceManager *InputDeviceManager::_global_ptr = nullptr;
 InputDeviceManager *InputDeviceManager::_global_ptr = nullptr;