From 9618cd219368e0335d233ae8b8a64c7cc42ce18f Mon Sep 17 00:00:00 2001 From: rdb Date: Sun, 7 Oct 2018 21:06:24 +0200 Subject: [PATCH] device: ensure libputil is initialized before scanning devices --- panda/src/device/inputDeviceManager.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/panda/src/device/inputDeviceManager.cxx b/panda/src/device/inputDeviceManager.cxx index 140b4379f1..4bc69963eb 100644 --- a/panda/src/device/inputDeviceManager.cxx +++ b/panda/src/device/inputDeviceManager.cxx @@ -33,6 +33,8 @@ InputDeviceManager() : _lock("InputDeviceManager") { */ void InputDeviceManager:: make_global_ptr() { + init_libputil(); + #ifdef _WIN32 _global_ptr = new WinInputDeviceManager; #elif defined(__APPLE__)