Ahmad Fatoum
há 7 anos
ascendente
cometimento
f955b2255d
Não foi encontrada uma chave conhecida para esta assinatura, na base de dados
ID da chave GPG: C3EAC3DE9321D59B
1 ficheiros alterados com
4 adições e
0 eliminações
-
src/external/glfw/src/linux_joystick.c
|
|
@ -38,6 +38,10 @@ |
|
|
|
#include <string.h> |
|
|
|
#include <unistd.h> |
|
|
|
|
|
|
|
#ifndef SYN_DROPPED // < 2.6.39 kernel headers |
|
|
|
#define SYN_DROPPED 3 |
|
|
|
#endif |
|
|
|
|
|
|
|
// Apply an EV_KEY event to the specified joystick |
|
|
|
// |
|
|
|
static void handleKeyEvent(_GLFWjoystick* js, int code, int value) |
|
|
|