Add glfwGetEventTime for querying input event time

Fixes #1012.
This commit is contained in:
Felipe Ferreira da Silva
2017-05-11 17:15:16 -03:00
committed by Camilla Löwy
parent 16ae02ab85
commit c577ae4b0e
16 changed files with 135 additions and 12 deletions
+3
View File
@@ -114,6 +114,9 @@ typedef struct _GLFWlibraryMir
// The window whose disabled cursor mode is active
_GLFWwindow* disabledCursorWindow;
// The time of the last event
int64_t lastEventTime;
} _GLFWlibraryMir;
// Mir-specific per-cursor data