ObjFW  Diff

Differences From Artifact [b9cce24a39]:

  • File src/hid/OHWiimote.m — part of check-in [9d802a786d] at 2025-01-01 12:58:18 on branch trunk — Update copyright (user: js size: 2917)

To Artifact [5145c59b64]:

  • File src/hid/OHWiimote.m — part of check-in [2399b5b055] at 2025-04-15 22:26:58 on branch trunk — Continue migrating to the ARC functions for RR (user: js size: 2929) [more...]

81
82
83
84
85
86
87
88

89
90
91
92
93
94
95
96
97
98


99
100
101
102
103
104
105
81
82
83
84
85
86
87

88
89
90
91
92
93
94
95
96


97
98
99
100
101
102
103
104
105







-
+








-
-
+
+








		_directionalPads = [[OFDictionary alloc]
		    initWithObject: dPad
			    forKey: @"D-Pad"];

		objc_autoreleasePoolPop(pool);
	} @catch (id e) {
		[self release];
		objc_release(self);
		@throw e;
	}

	return self;
}

- (void)dealloc
{
	[_buttons release];
	[_directionalPads release];
	objc_release(_buttons);
	objc_release(_directionalPads);

	[super dealloc];
}

- (OFDictionary OF_GENERIC(OFString *, OHGameControllerAxis *) *)axes
{
	return [OFDictionary dictionary];