Code to encode key events

This commit is contained in:
Kovid Goyal
2021-01-11 11:12:49 +05:30
parent c0b6078438
commit c8a9336160
11 changed files with 286 additions and 23663 deletions

2
glfw/glfw3.h vendored
View File

@@ -1379,7 +1379,7 @@ typedef enum {
typedef struct GLFWkeyevent
{
// The [keyboard key](@ref keys) that was pressed or released.
uint32_t key;
uint32_t key, shifted_key, alternate_key;
// The platform-specific identifier of the key.
int native_key;