ObjFW  Diff

Differences From Artifact [b041d2d6ee]:

To Artifact [98130bdc10]:


21
22
23
24
25
26
27


28
29
30
31
32
33
34

#import "OHEvdevGameControllerProfile.h"
#import "OFDictionary.h"
#import "OHGameControllerAxis.h"
#import "OHGameControllerButton.h"

#include <linux/input.h>



static OFString *
buttonToName(uint16_t button, uint16_t vendorID, uint16_t productID)
{
	switch (button) {
	case BTN_A:
		return @"A";







>
>







21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36

#import "OHEvdevGameControllerProfile.h"
#import "OFDictionary.h"
#import "OHGameControllerAxis.h"
#import "OHGameControllerButton.h"

#include <linux/input.h>

#import "evdev_compat.h"

static OFString *
buttonToName(uint16_t button, uint16_t vendorID, uint16_t productID)
{
	switch (button) {
	case BTN_A:
		return @"A";