From 9cd2e9ec8fc0127393dfce9c0359d500c8c238be Mon Sep 17 00:00:00 2001
From: Edward Rudd <urkle@outoforder.cc>
Date: Tue, 09 Apr 2019 02:22:50 +0000
Subject: [PATCH] updae source to 2.0.9 source
---
source/src/joystick/darwin/SDL_sysjoystick_c.h | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/source/src/joystick/darwin/SDL_sysjoystick_c.h b/source/src/joystick/darwin/SDL_sysjoystick_c.h
index cde6a5c..2168f91 100644
--- a/source/src/joystick/darwin/SDL_sysjoystick_c.h
+++ b/source/src/joystick/darwin/SDL_sysjoystick_c.h
@@ -24,6 +24,8 @@
#define SDL_JOYSTICK_IOKIT_H
#include <IOKit/hid/IOHIDLib.h>
+#include <ForceFeedback/ForceFeedback.h>
+#include <ForceFeedback/ForceFeedbackConstants.h>
struct recElement
{
@@ -45,6 +47,10 @@
{
IOHIDDeviceRef deviceRef; /* HIDManager device handle */
io_service_t ffservice; /* Interface for force feedback, 0 = no ff */
+ FFDeviceObjectReference ffdevice;
+ FFEFFECT *ffeffect;
+ FFEffectObjectReference ffeffect_ref;
+ SDL_bool ff_initialized;
char product[256]; /* name of product */
uint32_t usage; /* usage page from IOUSBHID Parser.h which defines general usage */
--
Gitblit v1.9.3