Index: src/hid/OHEmulatedGameControllerAxis.h ================================================================== --- src/hid/OHEmulatedGameControllerAxis.h +++ src/hid/OHEmulatedGameControllerAxis.h @@ -29,10 +29,11 @@ OHGameControllerButton *_negativeButton, *_positiveButton; } - (instancetype)initWithName: (OFString *)name analog: (bool)analog OF_UNAVAILABLE; + - (instancetype) initWithNegativeButton: (OHGameControllerButton *)negativeButton positiveButton: (OHGameControllerButton *)positiveButton OF_DESIGNATED_INITIALIZER; @end Index: src/hid/OHEmulatedGameControllerButton.h ================================================================== --- src/hid/OHEmulatedGameControllerButton.h +++ src/hid/OHEmulatedGameControllerButton.h @@ -30,10 +30,11 @@ bool _positive; } - (instancetype)initWithName: (OFString *)name analog: (bool)analog OF_UNAVAILABLE; + - (instancetype)initWithAxis: (OHGameControllerAxis *)axis positive: (bool)positive OF_DESIGNATED_INITIALIZER; @end OF_ASSUME_NONNULL_END Index: src/hid/OHEmulatedGameControllerTriggerButton.h ================================================================== --- src/hid/OHEmulatedGameControllerTriggerButton.h +++ src/hid/OHEmulatedGameControllerTriggerButton.h @@ -31,10 +31,11 @@ @property (readonly, nonatomic) OHGameControllerAxis *axis; - (instancetype)initWithName: (OFString *)name analog: (bool)analog OF_UNAVAILABLE; + - (instancetype)initWithName: (OFString *)name axis: (OHGameControllerAxis *)axis OF_DESIGNATED_INITIALIZER; @end Index: src/hid/OHGameControllerDirectionalPad.h ================================================================== --- src/hid/OHGameControllerDirectionalPad.h +++ src/hid/OHGameControllerDirectionalPad.h @@ -25,11 +25,11 @@ /** * @class OHGameControllerDirectionalPad OHGameControllerDirectionalPad.h * ObjFWHID/ObjFWID.h * - * @brief An directional pad or thumb stick of a game controller. + * @brief A directional pad or thumb stick of a game controller. */ OF_SUBCLASSING_RESTRICTED @interface OHGameControllerDirectionalPad: OHGameControllerElement { OHGameControllerAxis *_xAxis, *_yAxis; Index: src/runtime/exception.m ================================================================== --- src/runtime/exception.m +++ src/runtime/exception.m @@ -36,11 +36,11 @@ #ifdef __SEH__ # include #endif #if defined(__SEH__) -# define PERSONALITY gnu_objc_personality +# define PERSONALITY gnu_objc_personality #elif defined(__USING_SJLJ_EXCEPTIONS__) # define PERSONALITY __gnu_objc_personality_sj0 # define CXX_PERSONALITY_STR "__gxx_personality_sj0" # define _Unwind_RaiseException _Unwind_SjLj_RaiseException # define __builtin_eh_return_data_regno(i) (i)