Add GLFW_RAW_INPUT and glfwRawInputSupported

From upstream: 9e29f556fd.
This commit is contained in:
Luflosi
2020-05-24 19:35:59 +02:00
parent f97e8b7eeb
commit 48fb051253
9 changed files with 111 additions and 7 deletions

10
glfw/null_window.c vendored
View File

@@ -208,6 +208,16 @@ void _glfwPlatformSetWindowOpacity(_GLFWwindow* window UNUSED, float opacity UNU
{
}
void _glfwPlatformSetRawInput(_GLFWwindow *window, bool enabled)
{
window->useRawInput = enabled;
}
bool _glfwPlatformRawInputSupported(void)
{
return false;
}
void _glfwPlatformShowWindow(_GLFWwindow* window UNUSED)
{
}