From 4f224c6eb8ba0d9984adb62f7d4ce9b65d1f6a5f Mon Sep 17 00:00:00 2001 From: James Benton Date: Tue, 19 Jun 2018 11:46:47 +0100 Subject: [PATCH] nsyshid: Fix HIDAttachEvent values. --- include/nsyshid/hid.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/nsyshid/hid.h b/include/nsyshid/hid.h index 73104cd..1507fd1 100644 --- a/include/nsyshid/hid.h +++ b/include/nsyshid/hid.h @@ -15,8 +15,8 @@ typedef struct HIDDevice HIDDevice; typedef enum HIDAttachEvent { - HID_DEVICE_ATTACH = 0, - HID_DEVICE_DETACH = 1, + HID_DEVICE_DETACH = 0, + HID_DEVICE_ATTACH = 1, } HIDAttachEvent; typedef int32_t