From fa2135adc0bc3381d5ec838d3637dc74df24c1b6 Mon Sep 17 00:00:00 2001 From: Nico Date: Sun, 11 Jan 2015 15:04:15 +0100 Subject: [PATCH] gamepad report id fix --- avr/cores/hid/USB-Core/HID.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/avr/cores/hid/USB-Core/HID.h b/avr/cores/hid/USB-Core/HID.h index 2d652e9..c996420 100644 --- a/avr/cores/hid/USB-Core/HID.h +++ b/avr/cores/hid/USB-Core/HID.h @@ -289,7 +289,7 @@ extern uint8_t hid_keyboard_leds; 0x05, 0x01, /* USAGE_PAGE (Generic Desktop) */ \ 0x09, 0x04, /* USAGE (Joystick) */ \ 0xa1, 0x01, /* COLLECTION (Application) */ \ - 0x85, HID_REPORTID_GAMEPAD, /* REPORT_ID */ \ + 0x85, report_id, /* REPORT_ID */ \ /* 32 Buttons */ \ 0x05, 0x09, /* USAGE_PAGE (Button) */ \ 0x19, 0x01, /* USAGE_MINIMUM (Button 1) */ \