Added SDL_hidapi_rumble.c to the macOS, iOS and tvOS builds
authorSam Lantinga <slouken@libsdl.org>
Tue, 04 Feb 2020 15:42:49 -0800
changeset 13485a41d8d126fc3
parent 13484 b17ae2c3cd9b
child 13486 7057789eda0d
Added SDL_hidapi_rumble.c to the macOS, iOS and tvOS builds
Xcode-iOS/SDL/SDL.xcodeproj/project.pbxproj
Xcode/SDL/SDL.xcodeproj/project.pbxproj
src/joystick/hidapi/SDL_hidapi_rumble.c
src/joystick/hidapi/SDL_hidapi_rumble.h
     1.1 --- a/Xcode-iOS/SDL/SDL.xcodeproj/project.pbxproj	Tue Feb 04 15:35:01 2020 -0800
     1.2 +++ b/Xcode-iOS/SDL/SDL.xcodeproj/project.pbxproj	Tue Feb 04 15:42:49 2020 -0800
     1.3 @@ -367,6 +367,13 @@
     1.4  		A704173220F7F39900A82227 /* SDL_hidapi_steam.c in Sources */ = {isa = PBXBuildFile; fileRef = A704173020F7F39400A82227 /* SDL_hidapi_steam.c */; };
     1.5  		A75FDAB723E288E400529352 /* SDL_hidapi_steam.c in Sources */ = {isa = PBXBuildFile; fileRef = A704173020F7F39400A82227 /* SDL_hidapi_steam.c */; };
     1.6  		A75FDAB823E2890000529352 /* SDL_hidapi_steam.c in Sources */ = {isa = PBXBuildFile; fileRef = A704173020F7F39400A82227 /* SDL_hidapi_steam.c */; };
     1.7 +		A75FDBD923EA38AD00529352 /* SDL_hidapi_rumble.c in Sources */ = {isa = PBXBuildFile; fileRef = A75FDBD723EA38AD00529352 /* SDL_hidapi_rumble.c */; };
     1.8 +		A75FDBDA23EA38AD00529352 /* SDL_hidapi_rumble.c in Sources */ = {isa = PBXBuildFile; fileRef = A75FDBD723EA38AD00529352 /* SDL_hidapi_rumble.c */; };
     1.9 +		A75FDBDB23EA38AD00529352 /* SDL_hidapi_rumble.c in Sources */ = {isa = PBXBuildFile; fileRef = A75FDBD723EA38AD00529352 /* SDL_hidapi_rumble.c */; };
    1.10 +		A75FDBDC23EA38AD00529352 /* SDL_hidapi_rumble.c in Sources */ = {isa = PBXBuildFile; fileRef = A75FDBD723EA38AD00529352 /* SDL_hidapi_rumble.c */; };
    1.11 +		A75FDBDD23EA38AD00529352 /* SDL_hidapi_rumble.h in Headers */ = {isa = PBXBuildFile; fileRef = A75FDBD823EA38AD00529352 /* SDL_hidapi_rumble.h */; };
    1.12 +		A75FDBDE23EA38AD00529352 /* SDL_hidapi_rumble.h in Headers */ = {isa = PBXBuildFile; fileRef = A75FDBD823EA38AD00529352 /* SDL_hidapi_rumble.h */; };
    1.13 +		A75FDBDF23EA38AD00529352 /* SDL_hidapi_rumble.h in Headers */ = {isa = PBXBuildFile; fileRef = A75FDBD823EA38AD00529352 /* SDL_hidapi_rumble.h */; };
    1.14  		A7C19D29212E552C00DF2152 /* SDL_displayevents_c.h in Headers */ = {isa = PBXBuildFile; fileRef = A7C19D27212E552B00DF2152 /* SDL_displayevents_c.h */; };
    1.15  		A7C19D2A212E552C00DF2152 /* SDL_displayevents.c in Sources */ = {isa = PBXBuildFile; fileRef = A7C19D28212E552B00DF2152 /* SDL_displayevents.c */; };
    1.16  		A7C19D2B212E552C00DF2152 /* SDL_displayevents.c in Sources */ = {isa = PBXBuildFile; fileRef = A7C19D28212E552B00DF2152 /* SDL_displayevents.c */; };
    1.17 @@ -984,6 +991,8 @@
    1.18  		93CB792513FC5F5300BD3E05 /* SDL_uikitviewcontroller.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SDL_uikitviewcontroller.m; sourceTree = "<group>"; };
    1.19  		A704172D20F7E74800A82227 /* controller_type.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = controller_type.h; sourceTree = "<group>"; };
    1.20  		A704173020F7F39400A82227 /* SDL_hidapi_steam.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_hidapi_steam.c; sourceTree = "<group>"; };
    1.21 +		A75FDBD723EA38AD00529352 /* SDL_hidapi_rumble.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_hidapi_rumble.c; sourceTree = "<group>"; };
    1.22 +		A75FDBD823EA38AD00529352 /* SDL_hidapi_rumble.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_hidapi_rumble.h; sourceTree = "<group>"; };
    1.23  		A7C19D27212E552B00DF2152 /* SDL_displayevents_c.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_displayevents_c.h; sourceTree = "<group>"; };
    1.24  		A7C19D28212E552B00DF2152 /* SDL_displayevents.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_displayevents.c; sourceTree = "<group>"; };
    1.25  		A7FF6B6123AC3BC6005876C6 /* SDL_hidapi_gamecube.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_hidapi_gamecube.c; sourceTree = "<group>"; };
    1.26 @@ -1484,6 +1493,8 @@
    1.27  			children = (
    1.28  				A7FF6B6123AC3BC6005876C6 /* SDL_hidapi_gamecube.c */,
    1.29  				F3BDD78E20F51CB8004ECBF3 /* SDL_hidapi_ps4.c */,
    1.30 +				A75FDBD723EA38AD00529352 /* SDL_hidapi_rumble.c */,
    1.31 +				A75FDBD823EA38AD00529352 /* SDL_hidapi_rumble.h */,
    1.32  				A704173020F7F39400A82227 /* SDL_hidapi_steam.c */,
    1.33  				F3BDD78C20F51CB8004ECBF3 /* SDL_hidapi_switch.c */,
    1.34  				F3BDD78B20F51CB8004ECBF3 /* SDL_hidapi_xbox360.c */,
    1.35 @@ -1989,6 +2000,7 @@
    1.36  				52ED1DD5222889500061FCE0 /* SDL_syswm.h in Headers */,
    1.37  				52ED1DD6222889500061FCE0 /* SDL_thread.h in Headers */,
    1.38  				52ED1DD7222889500061FCE0 /* SDL_timer.h in Headers */,
    1.39 +				A75FDBDE23EA38AD00529352 /* SDL_hidapi_rumble.h in Headers */,
    1.40  				52ED1DD8222889500061FCE0 /* SDL_touch.h in Headers */,
    1.41  				52ED1DD9222889500061FCE0 /* SDL_types.h in Headers */,
    1.42  				52ED1DDA222889500061FCE0 /* SDL_version.h in Headers */,
    1.43 @@ -2125,6 +2137,7 @@
    1.44  				F3E3C6C32241389A007D243C /* SDL_syswm.h in Headers */,
    1.45  				F3E3C6C42241389A007D243C /* SDL_thread.h in Headers */,
    1.46  				F3E3C6C52241389A007D243C /* SDL_timer.h in Headers */,
    1.47 +				A75FDBDF23EA38AD00529352 /* SDL_hidapi_rumble.h in Headers */,
    1.48  				F3E3C6C62241389A007D243C /* SDL_touch.h in Headers */,
    1.49  				F3E3C6C72241389A007D243C /* SDL_types.h in Headers */,
    1.50  				F3E3C6C82241389A007D243C /* SDL_version.h in Headers */,
    1.51 @@ -2262,6 +2275,7 @@
    1.52  				AA7558C31595D55500BBD41B /* SDL_syswm.h in Headers */,
    1.53  				AA7558C41595D55500BBD41B /* SDL_thread.h in Headers */,
    1.54  				AA7558C51595D55500BBD41B /* SDL_timer.h in Headers */,
    1.55 +				A75FDBDD23EA38AD00529352 /* SDL_hidapi_rumble.h in Headers */,
    1.56  				AA7558C61595D55500BBD41B /* SDL_touch.h in Headers */,
    1.57  				AA7558C71595D55500BBD41B /* SDL_types.h in Headers */,
    1.58  				AA7558C81595D55500BBD41B /* SDL_version.h in Headers */,
    1.59 @@ -2536,6 +2550,7 @@
    1.60  				52ED1E1C222889500061FCE0 /* SDL_stretch.c in Sources */,
    1.61  				52ED1E1D222889500061FCE0 /* SDL_egl.c in Sources */,
    1.62  				52ED1E1E222889500061FCE0 /* SDL_surface.c in Sources */,
    1.63 +				A75FDBDA23EA38AD00529352 /* SDL_hidapi_rumble.c in Sources */,
    1.64  				52ED1E1F222889500061FCE0 /* SDL_video.c in Sources */,
    1.65  				52ED1E20222889500061FCE0 /* SDL_nullevents.c in Sources */,
    1.66  				52ED1E21222889500061FCE0 /* SDL_nullvideo.c in Sources */,
    1.67 @@ -2668,6 +2683,7 @@
    1.68  				F3E3C70A2241389A007D243C /* SDL_stretch.c in Sources */,
    1.69  				F3E3C70B2241389A007D243C /* SDL_egl.c in Sources */,
    1.70  				F3E3C70C2241389A007D243C /* SDL_surface.c in Sources */,
    1.71 +				A75FDBDC23EA38AD00529352 /* SDL_hidapi_rumble.c in Sources */,
    1.72  				F3E3C70D2241389A007D243C /* SDL_video.c in Sources */,
    1.73  				F3E3C70E2241389A007D243C /* SDL_nullevents.c in Sources */,
    1.74  				F3E3C70F2241389A007D243C /* SDL_nullvideo.c in Sources */,
    1.75 @@ -2774,6 +2790,7 @@
    1.76  				FAB5984B1BB5C31600BE72C5 /* SDL_sysfilesystem.m in Sources */,
    1.77  				AADC5A5D1FDA104400960936 /* yuv_rgb.c in Sources */,
    1.78  				FAB5984C1BB5C31600BE72C5 /* SDL_syshaptic.c in Sources */,
    1.79 +				A75FDBDB23EA38AD00529352 /* SDL_hidapi_rumble.c in Sources */,
    1.80  				AADC5A5F1FDA105600960936 /* SDL_vulkan_utils.c in Sources */,
    1.81  				AADC5A5E1FDA105300960936 /* SDL_yuv.c in Sources */,
    1.82  				FAB5984D1BB5C31600BE72C5 /* SDL_haptic.c in Sources */,
    1.83 @@ -2922,6 +2939,7 @@
    1.84  				FDA684640DF2374E00F98A1A /* SDL_stretch.c in Sources */,
    1.85  				AA13B34D1FB8B27800D9FEE6 /* SDL_egl.c in Sources */,
    1.86  				FDA684660DF2374E00F98A1A /* SDL_surface.c in Sources */,
    1.87 +				A75FDBD923EA38AD00529352 /* SDL_hidapi_rumble.c in Sources */,
    1.88  				FDA684680DF2374E00F98A1A /* SDL_video.c in Sources */,
    1.89  				FDA685FB0DF244C800F98A1A /* SDL_nullevents.c in Sources */,
    1.90  				FDA685FF0DF244C800F98A1A /* SDL_nullvideo.c in Sources */,
     2.1 --- a/Xcode/SDL/SDL.xcodeproj/project.pbxproj	Tue Feb 04 15:35:01 2020 -0800
     2.2 +++ b/Xcode/SDL/SDL.xcodeproj/project.pbxproj	Tue Feb 04 15:42:49 2020 -0800
     2.3 @@ -947,6 +947,24 @@
     2.4  		A75FDBBA23E4CBC700529352 /* ReadMe.txt in Resources */ = {isa = PBXBuildFile; fileRef = F59C710300D5CB5801000001 /* ReadMe.txt */; };
     2.5  		A75FDBBB23E4CBC800529352 /* License.txt in Resources */ = {isa = PBXBuildFile; fileRef = 00794D3F09D0C461003FC8A1 /* License.txt */; };
     2.6  		A75FDBBC23E4CBC800529352 /* ReadMe.txt in Resources */ = {isa = PBXBuildFile; fileRef = F59C710300D5CB5801000001 /* ReadMe.txt */; };
     2.7 +		A75FDBC523EA380300529352 /* SDL_hidapi_rumble.h in Headers */ = {isa = PBXBuildFile; fileRef = A75FDBC323EA380300529352 /* SDL_hidapi_rumble.h */; };
     2.8 +		A75FDBC623EA380300529352 /* SDL_hidapi_rumble.h in Headers */ = {isa = PBXBuildFile; fileRef = A75FDBC323EA380300529352 /* SDL_hidapi_rumble.h */; };
     2.9 +		A75FDBC723EA380300529352 /* SDL_hidapi_rumble.h in Headers */ = {isa = PBXBuildFile; fileRef = A75FDBC323EA380300529352 /* SDL_hidapi_rumble.h */; };
    2.10 +		A75FDBC823EA380300529352 /* SDL_hidapi_rumble.h in Headers */ = {isa = PBXBuildFile; fileRef = A75FDBC323EA380300529352 /* SDL_hidapi_rumble.h */; };
    2.11 +		A75FDBC923EA380300529352 /* SDL_hidapi_rumble.h in Headers */ = {isa = PBXBuildFile; fileRef = A75FDBC323EA380300529352 /* SDL_hidapi_rumble.h */; };
    2.12 +		A75FDBCA23EA380300529352 /* SDL_hidapi_rumble.h in Headers */ = {isa = PBXBuildFile; fileRef = A75FDBC323EA380300529352 /* SDL_hidapi_rumble.h */; };
    2.13 +		A75FDBCB23EA380300529352 /* SDL_hidapi_rumble.h in Headers */ = {isa = PBXBuildFile; fileRef = A75FDBC323EA380300529352 /* SDL_hidapi_rumble.h */; };
    2.14 +		A75FDBCC23EA380300529352 /* SDL_hidapi_rumble.h in Headers */ = {isa = PBXBuildFile; fileRef = A75FDBC323EA380300529352 /* SDL_hidapi_rumble.h */; };
    2.15 +		A75FDBCD23EA380300529352 /* SDL_hidapi_rumble.h in Headers */ = {isa = PBXBuildFile; fileRef = A75FDBC323EA380300529352 /* SDL_hidapi_rumble.h */; };
    2.16 +		A75FDBCE23EA380300529352 /* SDL_hidapi_rumble.c in Sources */ = {isa = PBXBuildFile; fileRef = A75FDBC423EA380300529352 /* SDL_hidapi_rumble.c */; };
    2.17 +		A75FDBCF23EA380300529352 /* SDL_hidapi_rumble.c in Sources */ = {isa = PBXBuildFile; fileRef = A75FDBC423EA380300529352 /* SDL_hidapi_rumble.c */; };
    2.18 +		A75FDBD023EA380300529352 /* SDL_hidapi_rumble.c in Sources */ = {isa = PBXBuildFile; fileRef = A75FDBC423EA380300529352 /* SDL_hidapi_rumble.c */; };
    2.19 +		A75FDBD123EA380300529352 /* SDL_hidapi_rumble.c in Sources */ = {isa = PBXBuildFile; fileRef = A75FDBC423EA380300529352 /* SDL_hidapi_rumble.c */; };
    2.20 +		A75FDBD223EA380300529352 /* SDL_hidapi_rumble.c in Sources */ = {isa = PBXBuildFile; fileRef = A75FDBC423EA380300529352 /* SDL_hidapi_rumble.c */; };
    2.21 +		A75FDBD323EA380300529352 /* SDL_hidapi_rumble.c in Sources */ = {isa = PBXBuildFile; fileRef = A75FDBC423EA380300529352 /* SDL_hidapi_rumble.c */; };
    2.22 +		A75FDBD423EA380300529352 /* SDL_hidapi_rumble.c in Sources */ = {isa = PBXBuildFile; fileRef = A75FDBC423EA380300529352 /* SDL_hidapi_rumble.c */; };
    2.23 +		A75FDBD523EA380300529352 /* SDL_hidapi_rumble.c in Sources */ = {isa = PBXBuildFile; fileRef = A75FDBC423EA380300529352 /* SDL_hidapi_rumble.c */; };
    2.24 +		A75FDBD623EA380300529352 /* SDL_hidapi_rumble.c in Sources */ = {isa = PBXBuildFile; fileRef = A75FDBC423EA380300529352 /* SDL_hidapi_rumble.c */; };
    2.25  		A769B08423E259AE00872273 /* SDL_shaders_metal_tvos.h in Headers */ = {isa = PBXBuildFile; fileRef = A7D8A8E323E2514000DCD162 /* SDL_shaders_metal_tvos.h */; };
    2.26  		A769B08523E259AE00872273 /* SDL_filesystem.h in Headers */ = {isa = PBXBuildFile; fileRef = 567E2F2017C44C35005F1892 /* SDL_filesystem.h */; settings = {ATTRIBUTES = (Public, ); }; };
    2.27  		A769B08723E259AE00872273 /* begin_code.h in Headers */ = {isa = PBXBuildFile; fileRef = AA7557C71595D4D800BBD41B /* begin_code.h */; settings = {ATTRIBUTES = (Public, ); }; };
    2.28 @@ -3985,6 +4003,8 @@
    2.29  		A75FDBA523E4CB6F00529352 /* LICENSE-orig.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = "LICENSE-orig.txt"; sourceTree = "<group>"; };
    2.30  		A75FDBA623E4CB6F00529352 /* LICENSE-gpl3.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = "LICENSE-gpl3.txt"; sourceTree = "<group>"; };
    2.31  		A75FDBA723E4CB6F00529352 /* LICENSE.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = LICENSE.txt; sourceTree = "<group>"; };
    2.32 +		A75FDBC323EA380300529352 /* SDL_hidapi_rumble.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_hidapi_rumble.h; sourceTree = "<group>"; };
    2.33 +		A75FDBC423EA380300529352 /* SDL_hidapi_rumble.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_hidapi_rumble.c; sourceTree = "<group>"; };
    2.34  		A769B23D23E259AE00872273 /* libSDL2.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libSDL2.a; sourceTree = BUILT_PRODUCTS_DIR; };
    2.35  		A77E6EB3167AB0A90010E40B /* SDL_gamecontroller.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_gamecontroller.h; sourceTree = "<group>"; };
    2.36  		A7D88B5423E2437C00DCD162 /* SDL2.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SDL2.framework; sourceTree = BUILT_PRODUCTS_DIR; };
    2.37 @@ -5279,9 +5299,11 @@
    2.38  		A7D8A7BE23E2513E00DCD162 /* hidapi */ = {
    2.39  			isa = PBXGroup;
    2.40  			children = (
    2.41 -				A75FDAAC23E2795C00529352 /* SDL_hidapi_steam.c */,
    2.42  				A7D8A7C923E2513E00DCD162 /* SDL_hidapi_gamecube.c */,
    2.43  				A7D8A7C323E2513E00DCD162 /* SDL_hidapi_ps4.c */,
    2.44 +				A75FDBC423EA380300529352 /* SDL_hidapi_rumble.c */,
    2.45 +				A75FDBC323EA380300529352 /* SDL_hidapi_rumble.h */,
    2.46 +				A75FDAAC23E2795C00529352 /* SDL_hidapi_steam.c */,
    2.47  				A7D8A7C623E2513E00DCD162 /* SDL_hidapi_switch.c */,
    2.48  				A7D8A7C223E2513E00DCD162 /* SDL_hidapi_xbox360.c */,
    2.49  				A7D8A7C823E2513E00DCD162 /* SDL_hidapi_xbox360w.c */,
    2.50 @@ -5699,6 +5721,7 @@
    2.51  				A75FCD3423E25AB700529352 /* blank_cursor.h in Headers */,
    2.52  				A75FDB5F23E39E6100529352 /* hidapi.h in Headers */,
    2.53  				A75FCD3523E25AB700529352 /* SDL_gesture.h in Headers */,
    2.54 +				A75FDBCC23EA380300529352 /* SDL_hidapi_rumble.h in Headers */,
    2.55  				A75FCD3623E25AB700529352 /* SDL_sysaudio.h in Headers */,
    2.56  				A75FCD3723E25AB700529352 /* SDL_haptic.h in Headers */,
    2.57  				A75FDAC523E28BD800529352 /* SDL_sysjoystick_c.h in Headers */,
    2.58 @@ -5938,6 +5961,7 @@
    2.59  				A75FCEED23E25AC700529352 /* blank_cursor.h in Headers */,
    2.60  				A75FDB6023E39E6100529352 /* hidapi.h in Headers */,
    2.61  				A75FCEEE23E25AC700529352 /* SDL_gesture.h in Headers */,
    2.62 +				A75FDBCD23EA380300529352 /* SDL_hidapi_rumble.h in Headers */,
    2.63  				A75FCEEF23E25AC700529352 /* SDL_sysaudio.h in Headers */,
    2.64  				A75FCEF023E25AC700529352 /* SDL_haptic.h in Headers */,
    2.65  				A75FDAC723E28BD900529352 /* SDL_sysjoystick_c.h in Headers */,
    2.66 @@ -6201,6 +6225,7 @@
    2.67  				A769B0BA23E259AE00872273 /* blank_cursor.h in Headers */,
    2.68  				A75FDB5D23E39E6100529352 /* hidapi.h in Headers */,
    2.69  				A769B0BB23E259AE00872273 /* SDL_gesture.h in Headers */,
    2.70 +				A75FDBCA23EA380300529352 /* SDL_hidapi_rumble.h in Headers */,
    2.71  				A769B0BC23E259AE00872273 /* SDL_sysaudio.h in Headers */,
    2.72  				A769B0BD23E259AE00872273 /* SDL_haptic.h in Headers */,
    2.73  				A769B0BE23E259AE00872273 /* SDL_sysevents.h in Headers */,
    2.74 @@ -6517,6 +6542,7 @@
    2.75  				A7D8B58823E2514300DCD162 /* SDL_joystick_c.h in Headers */,
    2.76  				A7D88A3C23E2437C00DCD162 /* SDL_name.h in Headers */,
    2.77  				A7D8A97023E2514000DCD162 /* SDL_coremotionsensor.h in Headers */,
    2.78 +				A75FDBC623EA380300529352 /* SDL_hidapi_rumble.h in Headers */,
    2.79  				A7D8B98D23E2514400DCD162 /* SDL_shaders_metal_ios.h in Headers */,
    2.80  				A7D8AF1323E2514100DCD162 /* SDL_cocoaevents.h in Headers */,
    2.81  				A7D8BA7423E2514400DCD162 /* SDL_shaders_gl.h in Headers */,
    2.82 @@ -6759,6 +6785,7 @@
    2.83  				A7D8AC5F23E2514100DCD162 /* SDL_uikitmetalview.h in Headers */,
    2.84  				A7D8B58923E2514300DCD162 /* SDL_joystick_c.h in Headers */,
    2.85  				A7D88BF523E24BED00DCD162 /* SDL_name.h in Headers */,
    2.86 +				A75FDBC723EA380300529352 /* SDL_hidapi_rumble.h in Headers */,
    2.87  				A7D8A97123E2514000DCD162 /* SDL_coremotionsensor.h in Headers */,
    2.88  				A7D8B98E23E2514400DCD162 /* SDL_shaders_metal_ios.h in Headers */,
    2.89  				A7D8AF1423E2514100DCD162 /* SDL_cocoaevents.h in Headers */,
    2.90 @@ -6924,6 +6951,7 @@
    2.91  				A7D8BB4923E2514500DCD162 /* blank_cursor.h in Headers */,
    2.92  				A75FDB5C23E39E6100529352 /* hidapi.h in Headers */,
    2.93  				A7D88D2C23E24D3B00DCD162 /* SDL_gesture.h in Headers */,
    2.94 +				A75FDBC923EA380300529352 /* SDL_hidapi_rumble.h in Headers */,
    2.95  				A7D8B85E23E2514400DCD162 /* SDL_sysaudio.h in Headers */,
    2.96  				A7D88D2D23E24D3B00DCD162 /* SDL_haptic.h in Headers */,
    2.97  				A7D8BB9723E2514500DCD162 /* SDL_sysevents.h in Headers */,
    2.98 @@ -7323,6 +7351,7 @@
    2.99  				AA7558501595D4D800BBD41B /* SDL_syswm.h in Headers */,
   2.100  				AA7558521595D4D800BBD41B /* SDL_thread.h in Headers */,
   2.101  				AA7558541595D4D800BBD41B /* SDL_timer.h in Headers */,
   2.102 +				A75FDBC523EA380300529352 /* SDL_hidapi_rumble.h in Headers */,
   2.103  				A7D8B21223E2514200DCD162 /* SDL_x11events.h in Headers */,
   2.104  				AA7558561595D4D800BBD41B /* SDL_touch.h in Headers */,
   2.105  				A7D8A96323E2514000DCD162 /* SDL_dummysensor.h in Headers */,
   2.106 @@ -7573,6 +7602,7 @@
   2.107  				AA75585D1595D4D800BBD41B /* SDL_video.h in Headers */,
   2.108  				AAC070FD195606770073DCDF /* SDL_opengles2_gl2.h in Headers */,
   2.109  				F3950CD9212BC88D00F51292 /* SDL_sensor.h in Headers */,
   2.110 +				A75FDBC823EA380300529352 /* SDL_hidapi_rumble.h in Headers */,
   2.111  				A7D8AC4223E2514100DCD162 /* SDL_sysvideo.h in Headers */,
   2.112  				AAC07103195606770073DCDF /* SDL_opengles2_gl2platform.h in Headers */,
   2.113  				AAC07100195606770073DCDF /* SDL_opengles2_gl2ext.h in Headers */,
   2.114 @@ -7811,6 +7841,7 @@
   2.115  				DB313FF817554B71006C0E22 /* SDL_video.h in Headers */,
   2.116  				AAC070FE195606770073DCDF /* SDL_opengles2_gl2.h in Headers */,
   2.117  				F3950CDA212BC88D00F51292 /* SDL_sensor.h in Headers */,
   2.118 +				A75FDBCB23EA380300529352 /* SDL_hidapi_rumble.h in Headers */,
   2.119  				A7D8AC4423E2514100DCD162 /* SDL_sysvideo.h in Headers */,
   2.120  				AAC07104195606770073DCDF /* SDL_opengles2_gl2platform.h in Headers */,
   2.121  				AAC07101195606770073DCDF /* SDL_opengles2_gl2ext.h in Headers */,
   2.122 @@ -8257,6 +8288,7 @@
   2.123  				A75FCDED23E25AB700529352 /* SDL_systls.c in Sources */,
   2.124  				A75FCDEE23E25AB700529352 /* SDL_vulkan_utils.c in Sources */,
   2.125  				A75FCDEF23E25AB700529352 /* SDL_spinlock.c in Sources */,
   2.126 +				A75FDBD523EA380300529352 /* SDL_hidapi_rumble.c in Sources */,
   2.127  				A75FCDF023E25AB700529352 /* s_atan.c in Sources */,
   2.128  				A75FCDF123E25AB700529352 /* SDL_sysloadso.c in Sources */,
   2.129  				A75FCDF223E25AB700529352 /* SDL_render_metal.m in Sources */,
   2.130 @@ -8451,6 +8483,7 @@
   2.131  				A75FCFA623E25AC700529352 /* SDL_systls.c in Sources */,
   2.132  				A75FCFA723E25AC700529352 /* SDL_vulkan_utils.c in Sources */,
   2.133  				A75FCFA823E25AC700529352 /* SDL_spinlock.c in Sources */,
   2.134 +				A75FDBD623EA380300529352 /* SDL_hidapi_rumble.c in Sources */,
   2.135  				A75FCFA923E25AC700529352 /* s_atan.c in Sources */,
   2.136  				A75FCFAA23E25AC700529352 /* SDL_sysloadso.c in Sources */,
   2.137  				A75FCFAB23E25AC700529352 /* SDL_render_metal.m in Sources */,
   2.138 @@ -8817,6 +8850,7 @@
   2.139  				A769B20A23E259AE00872273 /* SDL_malloc.c in Sources */,
   2.140  				A769B20B23E259AE00872273 /* SDL_audio.c in Sources */,
   2.141  				A769B20C23E259AE00872273 /* SDL_sysfilesystem.c in Sources */,
   2.142 +				A75FDBD323EA380300529352 /* SDL_hidapi_rumble.c in Sources */,
   2.143  				A769B20D23E259AE00872273 /* SDL_offscreenvideo.c in Sources */,
   2.144  				A769B20E23E259AE00872273 /* SDL_syscond.c in Sources */,
   2.145  				A769B20F23E259AE00872273 /* SDL_syshaptic.c in Sources */,
   2.146 @@ -8969,6 +9003,7 @@
   2.147  				A7D8BB5823E2514500DCD162 /* SDL_events.c in Sources */,
   2.148  				A7D8ADE723E2514100DCD162 /* SDL_blit_0.c in Sources */,
   2.149  				A7D8BB0A23E2514500DCD162 /* k_tan.c in Sources */,
   2.150 +				A75FDBCF23EA380300529352 /* SDL_hidapi_rumble.c in Sources */,
   2.151  				A7D8B15F23E2514200DCD162 /* SDL_x11vulkan.c in Sources */,
   2.152  				A7D8B8A923E2514400DCD162 /* SDL_diskaudio.c in Sources */,
   2.153  				A7D8AFC123E2514200DCD162 /* SDL_egl.c in Sources */,
   2.154 @@ -9162,6 +9197,7 @@
   2.155  				A7D8ADE823E2514100DCD162 /* SDL_blit_0.c in Sources */,
   2.156  				A7D8BB0B23E2514500DCD162 /* k_tan.c in Sources */,
   2.157  				A7D8B16023E2514200DCD162 /* SDL_x11vulkan.c in Sources */,
   2.158 +				A75FDBD023EA380300529352 /* SDL_hidapi_rumble.c in Sources */,
   2.159  				A7D8B8AA23E2514400DCD162 /* SDL_diskaudio.c in Sources */,
   2.160  				A7D8B4E423E2514300DCD162 /* SDL_sysjoystick.m in Sources */,
   2.161  				A7D8AFC223E2514200DCD162 /* SDL_egl.c in Sources */,
   2.162 @@ -9398,6 +9434,7 @@
   2.163  				A7D8B97823E2514400DCD162 /* SDL_malloc.c in Sources */,
   2.164  				A7D8B8CA23E2514400DCD162 /* SDL_audio.c in Sources */,
   2.165  				A7D8B62123E2514300DCD162 /* SDL_sysfilesystem.c in Sources */,
   2.166 +				A75FDBD223EA380300529352 /* SDL_hidapi_rumble.c in Sources */,
   2.167  				A7D8AB8F23E2514100DCD162 /* SDL_offscreenvideo.c in Sources */,
   2.168  				A7D8B43223E2514300DCD162 /* SDL_syscond.c in Sources */,
   2.169  				A7D8AADE23E2514100DCD162 /* SDL_syshaptic.c in Sources */,
   2.170 @@ -9463,6 +9500,7 @@
   2.171  				A7D8B3F223E2514300DCD162 /* SDL_thread.c in Sources */,
   2.172  				A7D8B55D23E2514300DCD162 /* SDL_hidapi_xbox360w.c in Sources */,
   2.173  				A7D8A95723E2514000DCD162 /* SDL_atomic.c in Sources */,
   2.174 +				A75FDBCE23EA380300529352 /* SDL_hidapi_rumble.c in Sources */,
   2.175  				A7D8BB2723E2514500DCD162 /* SDL_displayevents.c in Sources */,
   2.176  				A7D8AF1823E2514100DCD162 /* SDL_cocoamousetap.m in Sources */,
   2.177  				A7D8AB2523E2514100DCD162 /* SDL_log.c in Sources */,
   2.178 @@ -9652,6 +9690,7 @@
   2.179  				A7D8B3F523E2514300DCD162 /* SDL_thread.c in Sources */,
   2.180  				A7D8B56023E2514300DCD162 /* SDL_hidapi_xbox360w.c in Sources */,
   2.181  				A7D8A95A23E2514000DCD162 /* SDL_atomic.c in Sources */,
   2.182 +				A75FDBD123EA380300529352 /* SDL_hidapi_rumble.c in Sources */,
   2.183  				A7D8BB2A23E2514500DCD162 /* SDL_displayevents.c in Sources */,
   2.184  				A7D8BBFC23E2574800DCD162 /* SDL_uikitopenglview.m in Sources */,
   2.185  				A7D8AF1B23E2514100DCD162 /* SDL_cocoamousetap.m in Sources */,
   2.186 @@ -9844,6 +9883,7 @@
   2.187  				A7D8B3F723E2514300DCD162 /* SDL_thread.c in Sources */,
   2.188  				A7D8B56223E2514300DCD162 /* SDL_hidapi_xbox360w.c in Sources */,
   2.189  				A7D8A95C23E2514000DCD162 /* SDL_atomic.c in Sources */,
   2.190 +				A75FDBD423EA380300529352 /* SDL_hidapi_rumble.c in Sources */,
   2.191  				A7D8BB2C23E2514500DCD162 /* SDL_displayevents.c in Sources */,
   2.192  				A7D8AF1D23E2514100DCD162 /* SDL_cocoamousetap.m in Sources */,
   2.193  				A7D8AB2A23E2514100DCD162 /* SDL_log.c in Sources */,
     3.1 --- a/src/joystick/hidapi/SDL_hidapi_rumble.c	Tue Feb 04 15:35:01 2020 -0800
     3.2 +++ b/src/joystick/hidapi/SDL_hidapi_rumble.c	Tue Feb 04 15:42:49 2020 -0800
     3.3 @@ -141,7 +141,7 @@
     3.4      SDL_HIDAPI_RumbleRequest *request;
     3.5  
     3.6      if (size > sizeof(request->data)) {
     3.7 -        return SDL_SetError("Couldn't send rumble, size %d is greater than %d", size, sizeof(request->data));
     3.8 +        return SDL_SetError("Couldn't send rumble, size %d is greater than %d", size, (int)sizeof(request->data));
     3.9      }
    3.10  
    3.11      if (!ctx->running) {
    3.12 @@ -174,7 +174,7 @@
    3.13      return size;
    3.14  }
    3.15  
    3.16 -void SDL_HIDAPI_QuitRumble()
    3.17 +void SDL_HIDAPI_QuitRumble(void)
    3.18  {
    3.19      SDL_HIDAPI_RumbleContext *ctx = &rumble_context;
    3.20  
     4.1 --- a/src/joystick/hidapi/SDL_hidapi_rumble.h	Tue Feb 04 15:35:01 2020 -0800
     4.2 +++ b/src/joystick/hidapi/SDL_hidapi_rumble.h	Tue Feb 04 15:42:49 2020 -0800
     4.3 @@ -24,7 +24,7 @@
     4.4  
     4.5  /* Handle rumble on a separate thread so it doesn't block the application */
     4.6  int SDL_HIDAPI_SendRumble(SDL_HIDAPI_Device *device, const Uint8 *data, int size);
     4.7 -void SDL_HIDAPI_QuitRumble();
     4.8 +void SDL_HIDAPI_QuitRumble(void);
     4.9  
    4.10  #endif /* SDL_JOYSTICK_HIDAPI */
    4.11