Added new HIDAPI driver files to the Xcode projects
authorSam Lantinga <slouken@libsdl.org>
Thu, 19 Dec 2019 15:18:50 -0800
changeset 13359fac6bfe29fad
parent 13358 a6c41c779a86
child 13360 7df539d57d14
Added new HIDAPI driver files to the Xcode projects
Xcode-iOS/SDL/SDL.xcodeproj/project.pbxproj
Xcode/SDL/SDL.xcodeproj/project.pbxproj
src/joystick/darwin/SDL_sysjoystick.c
src/video/cocoa/SDL_cocoakeyboard.m
     1.1 --- a/Xcode-iOS/SDL/SDL.xcodeproj/project.pbxproj	Thu Dec 19 15:12:36 2019 -0800
     1.2 +++ b/Xcode-iOS/SDL/SDL.xcodeproj/project.pbxproj	Thu Dec 19 15:18:50 2019 -0800
     1.3 @@ -367,6 +367,14 @@
     1.4  		A7C19D2A212E552C00DF2152 /* SDL_displayevents.c in Sources */ = {isa = PBXBuildFile; fileRef = A7C19D28212E552B00DF2152 /* SDL_displayevents.c */; };
     1.5  		A7C19D2B212E552C00DF2152 /* SDL_displayevents.c in Sources */ = {isa = PBXBuildFile; fileRef = A7C19D28212E552B00DF2152 /* SDL_displayevents.c */; };
     1.6  		A7F629241FE06523002F9CC9 /* SDL_uikitmetalview.m in Sources */ = {isa = PBXBuildFile; fileRef = 4D7516F81EE1C28A00820EEA /* SDL_uikitmetalview.m */; };
     1.7 +		A7FF6B6223AC3BC6005876C6 /* SDL_hidapi_gamecube.c in Sources */ = {isa = PBXBuildFile; fileRef = A7FF6B6123AC3BC6005876C6 /* SDL_hidapi_gamecube.c */; };
     1.8 +		A7FF6B6323AC3BC6005876C6 /* SDL_hidapi_gamecube.c in Sources */ = {isa = PBXBuildFile; fileRef = A7FF6B6123AC3BC6005876C6 /* SDL_hidapi_gamecube.c */; };
     1.9 +		A7FF6B6423AC3BC6005876C6 /* SDL_hidapi_gamecube.c in Sources */ = {isa = PBXBuildFile; fileRef = A7FF6B6123AC3BC6005876C6 /* SDL_hidapi_gamecube.c */; };
    1.10 +		A7FF6B6523AC3BC6005876C6 /* SDL_hidapi_gamecube.c in Sources */ = {isa = PBXBuildFile; fileRef = A7FF6B6123AC3BC6005876C6 /* SDL_hidapi_gamecube.c */; };
    1.11 +		A7FF6B6723AC3BCD005876C6 /* SDL_hidapi_xbox360w.c in Sources */ = {isa = PBXBuildFile; fileRef = A7FF6B6623AC3BCD005876C6 /* SDL_hidapi_xbox360w.c */; };
    1.12 +		A7FF6B6823AC3BCD005876C6 /* SDL_hidapi_xbox360w.c in Sources */ = {isa = PBXBuildFile; fileRef = A7FF6B6623AC3BCD005876C6 /* SDL_hidapi_xbox360w.c */; };
    1.13 +		A7FF6B6923AC3BCD005876C6 /* SDL_hidapi_xbox360w.c in Sources */ = {isa = PBXBuildFile; fileRef = A7FF6B6623AC3BCD005876C6 /* SDL_hidapi_xbox360w.c */; };
    1.14 +		A7FF6B6A23AC3BCD005876C6 /* SDL_hidapi_xbox360w.c in Sources */ = {isa = PBXBuildFile; fileRef = A7FF6B6623AC3BCD005876C6 /* SDL_hidapi_xbox360w.c */; };
    1.15  		AA0AD06216647BBB00CE5896 /* SDL_gamecontroller.c in Sources */ = {isa = PBXBuildFile; fileRef = AA0AD06116647BBB00CE5896 /* SDL_gamecontroller.c */; };
    1.16  		AA0AD06516647BD400CE5896 /* SDL_gamecontroller.h in Headers */ = {isa = PBXBuildFile; fileRef = AA0AD06416647BD400CE5896 /* SDL_gamecontroller.h */; };
    1.17  		AA0F8495178D5F1A00823F9D /* SDL_systls.c in Sources */ = {isa = PBXBuildFile; fileRef = AA0F8494178D5F1A00823F9D /* SDL_systls.c */; };
    1.18 @@ -973,6 +981,8 @@
    1.19  		A704172D20F7E74800A82227 /* controller_type.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = controller_type.h; sourceTree = "<group>"; };
    1.20  		A7C19D27212E552B00DF2152 /* SDL_displayevents_c.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_displayevents_c.h; sourceTree = "<group>"; };
    1.21  		A7C19D28212E552B00DF2152 /* SDL_displayevents.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_displayevents.c; sourceTree = "<group>"; };
    1.22 +		A7FF6B6123AC3BC6005876C6 /* SDL_hidapi_gamecube.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_hidapi_gamecube.c; sourceTree = "<group>"; };
    1.23 +		A7FF6B6623AC3BCD005876C6 /* SDL_hidapi_xbox360w.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_hidapi_xbox360w.c; sourceTree = "<group>"; };
    1.24  		AA0AD06116647BBB00CE5896 /* SDL_gamecontroller.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_gamecontroller.c; sourceTree = "<group>"; };
    1.25  		AA0AD06416647BD400CE5896 /* SDL_gamecontroller.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_gamecontroller.h; sourceTree = "<group>"; };
    1.26  		AA0F8494178D5F1A00823F9D /* SDL_systls.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_systls.c; sourceTree = "<group>"; };
    1.27 @@ -1467,9 +1477,11 @@
    1.28  		F3BDD78A20F51C8D004ECBF3 /* hidapi */ = {
    1.29  			isa = PBXGroup;
    1.30  			children = (
    1.31 +				A7FF6B6123AC3BC6005876C6 /* SDL_hidapi_gamecube.c */,
    1.32  				F3BDD78E20F51CB8004ECBF3 /* SDL_hidapi_ps4.c */,
    1.33  				F3BDD78C20F51CB8004ECBF3 /* SDL_hidapi_switch.c */,
    1.34  				F3BDD78B20F51CB8004ECBF3 /* SDL_hidapi_xbox360.c */,
    1.35 +				A7FF6B6623AC3BCD005876C6 /* SDL_hidapi_xbox360w.c */,
    1.36  				F3BDD78D20F51CB8004ECBF3 /* SDL_hidapi_xboxone.c */,
    1.37  				F3BDD79020F51CB8004ECBF3 /* SDL_hidapijoystick_c.h */,
    1.38  				F3BDD79120F51CB8004ECBF3 /* SDL_hidapijoystick.c */,
    1.39 @@ -2495,6 +2507,7 @@
    1.40  				52ED1E07222889500061FCE0 /* SDL_getenv.c in Sources */,
    1.41  				52ED1E08222889500061FCE0 /* SDL_iconv.c in Sources */,
    1.42  				52ED1E09222889500061FCE0 /* SDL_malloc.c in Sources */,
    1.43 +				A7FF6B6323AC3BC6005876C6 /* SDL_hidapi_gamecube.c in Sources */,
    1.44  				52ED1E0A222889500061FCE0 /* SDL_hidapi_xbox360.c in Sources */,
    1.45  				52ED1E0B222889500061FCE0 /* SDL_qsort.c in Sources */,
    1.46  				52ED1E0C222889500061FCE0 /* SDL_hidapi_ps4.c in Sources */,
    1.47 @@ -2559,6 +2572,7 @@
    1.48  				52ED1E47222889500061FCE0 /* SDL_render_gles.c in Sources */,
    1.49  				52ED1E48222889500061FCE0 /* SDL_hints.c in Sources */,
    1.50  				52ED1E49222889500061FCE0 /* SDL_shape.c in Sources */,
    1.51 +				A7FF6B6823AC3BCD005876C6 /* SDL_hidapi_xbox360w.c in Sources */,
    1.52  				52ED1E4A222889500061FCE0 /* SDL_render_gles2.c in Sources */,
    1.53  				52ED1E4B222889500061FCE0 /* SDL_dummysensor.c in Sources */,
    1.54  				52ED1E4C222889500061FCE0 /* SDL_shaders_gles2.c in Sources */,
    1.55 @@ -2624,6 +2638,7 @@
    1.56  				F3E3C6F52241389A007D243C /* SDL_getenv.c in Sources */,
    1.57  				F3E3C6F62241389A007D243C /* SDL_iconv.c in Sources */,
    1.58  				F3E3C6F72241389A007D243C /* SDL_malloc.c in Sources */,
    1.59 +				A7FF6B6523AC3BC6005876C6 /* SDL_hidapi_gamecube.c in Sources */,
    1.60  				F3E3C6F82241389A007D243C /* SDL_hidapi_xbox360.c in Sources */,
    1.61  				F3E3C6F92241389A007D243C /* SDL_qsort.c in Sources */,
    1.62  				F3E3C6FA2241389A007D243C /* SDL_hidapi_ps4.c in Sources */,
    1.63 @@ -2688,6 +2703,7 @@
    1.64  				F3E3C7362241389A007D243C /* SDL_render_gles.c in Sources */,
    1.65  				F3E3C7372241389A007D243C /* SDL_hints.c in Sources */,
    1.66  				F3E3C7382241389A007D243C /* SDL_shape.c in Sources */,
    1.67 +				A7FF6B6A23AC3BCD005876C6 /* SDL_hidapi_xbox360w.c in Sources */,
    1.68  				F3E3C7392241389A007D243C /* SDL_render_gles2.c in Sources */,
    1.69  				F3E3C73A2241389A007D243C /* SDL_dummysensor.c in Sources */,
    1.70  				F3E3C73B2241389A007D243C /* SDL_shaders_gles2.c in Sources */,
    1.71 @@ -2758,6 +2774,7 @@
    1.72  				FAB598521BB5C31600BE72C5 /* SDL_joystick.c in Sources */,
    1.73  				FAB598551BB5C31600BE72C5 /* SDL_sysloadso.c in Sources */,
    1.74  				AADC5A651FDA10CB00960936 /* SDL_render_metal.m in Sources */,
    1.75 +				A7FF6B6923AC3BCD005876C6 /* SDL_hidapi_xbox360w.c in Sources */,
    1.76  				FAB598561BB5C31600BE72C5 /* SDL_sysloadso.c in Sources */,
    1.77  				FAB598571BB5C31600BE72C5 /* SDL_power.c in Sources */,
    1.78  				F30D9CA1212CD0990047DF2E /* SDL_sensor.c in Sources */,
    1.79 @@ -2787,6 +2804,7 @@
    1.80  				FAB598781BB5C31600BE72C5 /* SDL_syscond.c in Sources */,
    1.81  				F3BDD79D20F51CB8004ECBF3 /* SDL_hidapijoystick.c in Sources */,
    1.82  				AADC5A601FDA10A400960936 /* SDL_uikitvulkan.m in Sources */,
    1.83 +				A7FF6B6423AC3BC6005876C6 /* SDL_hidapi_gamecube.c in Sources */,
    1.84  				FAB598791BB5C31600BE72C5 /* SDL_sysmutex.c in Sources */,
    1.85  				FAB5987B1BB5C31600BE72C5 /* SDL_syssem.c in Sources */,
    1.86  				FAB5987C1BB5C31600BE72C5 /* SDL_systhread.c in Sources */,
    1.87 @@ -2872,6 +2890,7 @@
    1.88  				FD3F4A760DEA620800C5B771 /* SDL_getenv.c in Sources */,
    1.89  				FD3F4A770DEA620800C5B771 /* SDL_iconv.c in Sources */,
    1.90  				FD3F4A780DEA620800C5B771 /* SDL_malloc.c in Sources */,
    1.91 +				A7FF6B6223AC3BC6005876C6 /* SDL_hidapi_gamecube.c in Sources */,
    1.92  				F3BDD79220F51CB8004ECBF3 /* SDL_hidapi_xbox360.c in Sources */,
    1.93  				FD3F4A790DEA620800C5B771 /* SDL_qsort.c in Sources */,
    1.94  				F3BDD79820F51CB8004ECBF3 /* SDL_hidapi_ps4.c in Sources */,
    1.95 @@ -2936,6 +2955,7 @@
    1.96  				0442EC5312FE1C28004C9285 /* SDL_render_gles.c in Sources */,
    1.97  				0442EC5512FE1C3F004C9285 /* SDL_hints.c in Sources */,
    1.98  				AA13B34A1FB8B27800D9FEE6 /* SDL_shape.c in Sources */,
    1.99 +				A7FF6B6723AC3BCD005876C6 /* SDL_hidapi_xbox360w.c in Sources */,
   1.100  				0402A85812FE70C600CECEE3 /* SDL_render_gles2.c in Sources */,
   1.101  				F36839CD214790950000F255 /* SDL_dummysensor.c in Sources */,
   1.102  				0402A85912FE70C600CECEE3 /* SDL_shaders_gles2.c in Sources */,
     2.1 --- a/Xcode/SDL/SDL.xcodeproj/project.pbxproj	Thu Dec 19 15:12:36 2019 -0800
     2.2 +++ b/Xcode/SDL/SDL.xcodeproj/project.pbxproj	Thu Dec 19 15:18:50 2019 -0800
     2.3 @@ -484,6 +484,12 @@
     2.4  		A7381E971D8B6A0300B177DD /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A7381E931D8B69C300B177DD /* AudioToolbox.framework */; };
     2.5  		A77E6EB4167AB0A90010E40B /* SDL_gamecontroller.h in Headers */ = {isa = PBXBuildFile; fileRef = A77E6EB3167AB0A90010E40B /* SDL_gamecontroller.h */; settings = {ATTRIBUTES = (Public, ); }; };
     2.6  		A77E6EB5167AB0A90010E40B /* SDL_gamecontroller.h in Headers */ = {isa = PBXBuildFile; fileRef = A77E6EB3167AB0A90010E40B /* SDL_gamecontroller.h */; settings = {ATTRIBUTES = (Public, ); }; };
     2.7 +		A7FF6B6D23AC3C18005876C6 /* SDL_hidapi_gamecube.c in Sources */ = {isa = PBXBuildFile; fileRef = A7FF6B6B23AC3C17005876C6 /* SDL_hidapi_gamecube.c */; };
     2.8 +		A7FF6B6E23AC3C18005876C6 /* SDL_hidapi_gamecube.c in Sources */ = {isa = PBXBuildFile; fileRef = A7FF6B6B23AC3C17005876C6 /* SDL_hidapi_gamecube.c */; };
     2.9 +		A7FF6B6F23AC3C18005876C6 /* SDL_hidapi_gamecube.c in Sources */ = {isa = PBXBuildFile; fileRef = A7FF6B6B23AC3C17005876C6 /* SDL_hidapi_gamecube.c */; };
    2.10 +		A7FF6B7023AC3C18005876C6 /* SDL_hidapi_xbox360w.c in Sources */ = {isa = PBXBuildFile; fileRef = A7FF6B6C23AC3C18005876C6 /* SDL_hidapi_xbox360w.c */; };
    2.11 +		A7FF6B7123AC3C18005876C6 /* SDL_hidapi_xbox360w.c in Sources */ = {isa = PBXBuildFile; fileRef = A7FF6B6C23AC3C18005876C6 /* SDL_hidapi_xbox360w.c */; };
    2.12 +		A7FF6B7223AC3C18005876C6 /* SDL_hidapi_xbox360w.c in Sources */ = {isa = PBXBuildFile; fileRef = A7FF6B6C23AC3C18005876C6 /* SDL_hidapi_xbox360w.c */; };
    2.13  		AA0AD09D16648D1700CE5896 /* SDL_gamecontroller.c in Sources */ = {isa = PBXBuildFile; fileRef = BBFC088A164C6514003E6A99 /* SDL_gamecontroller.c */; };
    2.14  		AA0F8491178D5ECC00823F9D /* SDL_systls.c in Sources */ = {isa = PBXBuildFile; fileRef = AA0F8490178D5ECC00823F9D /* SDL_systls.c */; };
    2.15  		AA0F8492178D5ECC00823F9D /* SDL_systls.c in Sources */ = {isa = PBXBuildFile; fileRef = AA0F8490178D5ECC00823F9D /* SDL_systls.c */; };
    2.16 @@ -1166,6 +1172,8 @@
    2.17  		A7381E931D8B69C300B177DD /* AudioToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioToolbox.framework; path = System/Library/Frameworks/AudioToolbox.framework; sourceTree = SDKROOT; };
    2.18  		A7381E951D8B69D600B177DD /* CoreAudio.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreAudio.framework; path = System/Library/Frameworks/CoreAudio.framework; sourceTree = SDKROOT; };
    2.19  		A77E6EB3167AB0A90010E40B /* SDL_gamecontroller.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_gamecontroller.h; sourceTree = "<group>"; };
    2.20 +		A7FF6B6B23AC3C17005876C6 /* SDL_hidapi_gamecube.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_hidapi_gamecube.c; sourceTree = "<group>"; };
    2.21 +		A7FF6B6C23AC3C18005876C6 /* SDL_hidapi_xbox360w.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_hidapi_xbox360w.c; sourceTree = "<group>"; };
    2.22  		AA0F8490178D5ECC00823F9D /* SDL_systls.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_systls.c; sourceTree = "<group>"; };
    2.23  		AA628AC8159367B7005138DD /* SDL_rotate.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_rotate.c; sourceTree = "<group>"; };
    2.24  		AA628AC9159367B7005138DD /* SDL_rotate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_rotate.h; sourceTree = "<group>"; };
    2.25 @@ -1937,9 +1945,11 @@
    2.26  		A704170C20F09AA600A82227 /* hidapi */ = {
    2.27  			isa = PBXGroup;
    2.28  			children = (
    2.29 +				A7FF6B6B23AC3C17005876C6 /* SDL_hidapi_gamecube.c */,
    2.30  				A704171120F09AC900A82227 /* SDL_hidapi_ps4.c */,
    2.31  				A704170F20F09AC800A82227 /* SDL_hidapi_switch.c */,
    2.32  				A704171320F09AC900A82227 /* SDL_hidapi_xbox360.c */,
    2.33 +				A7FF6B6C23AC3C18005876C6 /* SDL_hidapi_xbox360w.c */,
    2.34  				A704171220F09AC900A82227 /* SDL_hidapi_xboxone.c */,
    2.35  				A704170E20F09AC800A82227 /* SDL_hidapijoystick_c.h */,
    2.36  				A704170D20F09AC800A82227 /* SDL_hidapijoystick.c */,
    2.37 @@ -2692,6 +2702,7 @@
    2.38  				56115BBB1DF72C6D00F47E1E /* SDL_dataqueue.c in Sources */,
    2.39  				04BD000812E6671800899322 /* SDL_diskaudio.c in Sources */,
    2.40  				04BD001012E6671800899322 /* SDL_dummyaudio.c in Sources */,
    2.41 +				A7FF6B6D23AC3C18005876C6 /* SDL_hidapi_gamecube.c in Sources */,
    2.42  				04BD002612E6671800899322 /* SDL_audio.c in Sources */,
    2.43  				04BD002812E6671800899322 /* SDL_audiocvt.c in Sources */,
    2.44  				04BD002912E6671800899322 /* SDL_audiodev.c in Sources */,
    2.45 @@ -2704,6 +2715,7 @@
    2.46  				A704172620F09AC900A82227 /* SDL_hidapi_xbox360.c in Sources */,
    2.47  				04BD004C12E6671800899322 /* SDL_gesture.c in Sources */,
    2.48  				04BD004E12E6671800899322 /* SDL_keyboard.c in Sources */,
    2.49 +				A7FF6B7023AC3C18005876C6 /* SDL_hidapi_xbox360w.c in Sources */,
    2.50  				04BD005012E6671800899322 /* SDL_mouse.c in Sources */,
    2.51  				04BD005212E6671800899322 /* SDL_quit.c in Sources */,
    2.52  				04BD005412E6671800899322 /* SDL_touch.c in Sources */,
    2.53 @@ -2831,6 +2843,7 @@
    2.54  				4D1664561EDD61DA003DE88E /* SDL_vulkan_utils.c in Sources */,
    2.55  				04BD021712E6671800899322 /* SDL_atomic.c in Sources */,
    2.56  				04BD021812E6671800899322 /* SDL_spinlock.c in Sources */,
    2.57 +				A7FF6B6E23AC3C18005876C6 /* SDL_hidapi_gamecube.c in Sources */,
    2.58  				56F9D55C1DF73B6B00C15B5D /* SDL_dataqueue.c in Sources */,
    2.59  				04BD022412E6671800899322 /* SDL_diskaudio.c in Sources */,
    2.60  				04BD022C12E6671800899322 /* SDL_dummyaudio.c in Sources */,
    2.61 @@ -2843,6 +2856,7 @@
    2.62  				A704172720F09AC900A82227 /* SDL_hidapi_xbox360.c in Sources */,
    2.63  				04BD025C12E6671800899322 /* SDL_cpuinfo.c in Sources */,
    2.64  				04BD026312E6671800899322 /* SDL_clipboardevents.c in Sources */,
    2.65 +				A7FF6B7123AC3C18005876C6 /* SDL_hidapi_xbox360w.c in Sources */,
    2.66  				04BD026512E6671800899322 /* SDL_events.c in Sources */,
    2.67  				5C2EF6FB1FC9EE64003F5197 /* SDL_egl.c in Sources */,
    2.68  				AA41F88014B8F1F500993C4F /* SDL_dropevents.c in Sources */,
    2.69 @@ -2970,6 +2984,7 @@
    2.70  				4D1664591EDD621B003DE88E /* SDL_vulkan_utils.c in Sources */,
    2.71  				DB313FFE17554B71006C0E22 /* SDL_atomic.c in Sources */,
    2.72  				DB313FFF17554B71006C0E22 /* SDL_spinlock.c in Sources */,
    2.73 +				A7FF6B6F23AC3C18005876C6 /* SDL_hidapi_gamecube.c in Sources */,
    2.74  				56F9D55D1DF73B6C00C15B5D /* SDL_dataqueue.c in Sources */,
    2.75  				DB31400017554B71006C0E22 /* SDL_diskaudio.c in Sources */,
    2.76  				DB31400117554B71006C0E22 /* SDL_dummyaudio.c in Sources */,
    2.77 @@ -2982,6 +2997,7 @@
    2.78  				A704172820F09AC900A82227 /* SDL_hidapi_xbox360.c in Sources */,
    2.79  				DB31400917554B71006C0E22 /* SDL_cpuinfo.c in Sources */,
    2.80  				DB31400A17554B71006C0E22 /* SDL_clipboardevents.c in Sources */,
    2.81 +				A7FF6B7223AC3C18005876C6 /* SDL_hidapi_xbox360w.c in Sources */,
    2.82  				DB31400B17554B71006C0E22 /* SDL_events.c in Sources */,
    2.83  				5C2EF6FE1FC9EE65003F5197 /* SDL_egl.c in Sources */,
    2.84  				DB31400C17554B71006C0E22 /* SDL_dropevents.c in Sources */,
     3.1 --- a/src/joystick/darwin/SDL_sysjoystick.c	Thu Dec 19 15:12:36 2019 -0800
     3.2 +++ b/src/joystick/darwin/SDL_sysjoystick.c	Thu Dec 19 15:18:50 2019 -0800
     3.3 @@ -458,7 +458,7 @@
     3.4          if ((!refCF) || (!CFStringGetCString(refCF, product_string, sizeof(product_string), kCFStringEncodingUTF8))) {
     3.5              SDL_strlcpy(product_string, "Unidentified joystick", sizeof(product_string));
     3.6          }
     3.7 -        for (i = SDL_strlen(manufacturer_string) - 1; i > 0; --i) {
     3.8 +        for (i = (int)SDL_strlen(manufacturer_string) - 1; i > 0; --i) {
     3.9              if (SDL_isspace(manufacturer_string[i])) {
    3.10                  manufacturer_string[i] = '\0';
    3.11              } else {
     4.1 --- a/src/video/cocoa/SDL_cocoakeyboard.m	Thu Dec 19 15:12:36 2019 -0800
     4.2 +++ b/src/video/cocoa/SDL_cocoakeyboard.m	Thu Dec 19 15:18:50 2019 -0800
     4.3 @@ -473,7 +473,7 @@
     4.4      SDL_SetScancodeName(SDL_SCANCODE_RALT, "Right Option");
     4.5      SDL_SetScancodeName(SDL_SCANCODE_RGUI, "Right Command");
     4.6  
     4.7 -    data->modifierFlags = [NSEvent modifierFlags];
     4.8 +    data->modifierFlags = (unsigned int)[NSEvent modifierFlags];
     4.9      SDL_ToggleModState(KMOD_CAPS, (data->modifierFlags & NSEventModifierFlagCapsLock) != 0);
    4.10  }
    4.11  
    4.12 @@ -590,7 +590,7 @@
    4.13          break;
    4.14      case NSEventTypeFlagsChanged:
    4.15          /* FIXME CW 2007-08-14: check if this whole mess that takes up half of this file is really necessary */
    4.16 -        HandleModifiers(_this, scancode, [event modifierFlags]);
    4.17 +        HandleModifiers(_this, scancode, (unsigned int)[event modifierFlags]);
    4.18          break;
    4.19      default: /* just to avoid compiler warnings */
    4.20          break;