Ahmad Fatoum
7 년 전
No known key found for this signature in database
GPG 키 ID: C3EAC3DE9321D59B
1개의 변경된 파일과
4개의 추가작업 그리고
0개의 파일을 삭제
-
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) |
|
|
|