ObjFW  Diff

Differences From Artifact [40e78502c5]:

To Artifact [80bc5a0e55]:


13
14
15
16
17
18
19
20

21
22
23
24

25
26

27
28
29
30
31
32
33
34

35
36
37
38
39
40
41
13
14
15
16
17
18
19

20
21
22
23

24
25

26
27
28
29
30
31
32
33

34
35
36
37
38
39
40
41







-
+



-
+

-
+







-
+







 * version 3.0 for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * version 3.0 along with this program. If not, see
 * <https://www.gnu.org/licenses/>.
 */

#import "HIDGameController.h"
#import "OHGameController.h"

OF_ASSUME_NONNULL_BEGIN

@class HIDGameControllerMapping;
@class OHGameControllerMapping;

@interface HIDEvdevGameController: HIDGameController
@interface OHEvdevGameController: OHGameController
{
	OFString *_path;
	int _fd;
	bool _discardUntilReport;
	unsigned long *_evBits, *_keyBits, *_absBits;
	uint16_t _vendorID, _productID;
	OFString *_name;
	HIDGameControllerMapping *_mapping;
	OHGameControllerMapping *_mapping;
}

- (instancetype)of_initWithPath: (OFString *)path OF_METHOD_FAMILY(init);
- (void)of_pollState;
@end

OF_ASSUME_NONNULL_END