Added initial XInput2 cursor motion.

This commit is contained in:
Camilla Berglund
2013-04-04 16:48:58 +02:00
parent 129e94da2e
commit f41d85a209
4 changed files with 97 additions and 1 deletions
+5
View File
@@ -166,6 +166,11 @@ if (_GLFW_X11)
message(FATAL_ERROR "The RandR library and headers were not found")
endif()
if (X11_Xinput_FOUND)
list(APPEND glfw_INCLUDE_DIRS ${X11_Xinput_INCLUDE_PATH})
list(APPEND glfw_LIBRARIES ${X11_Xinput_LIB})
endif()
list(APPEND glfw_INCLUDE_DIRS ${X11_Xrandr_INCLUDE_PATH})
list(APPEND glfw_LIBRARIES ${X11_Xrandr_LIB})
set(GLFW_PKG_DEPS "${GLFW_PKG_DEPS} xrandr")