diff --git a/examples/Gamepad/Gamepad.ino b/examples/Gamepad/Gamepad.ino index c567c0a..7121859 100644 --- a/examples/Gamepad/Gamepad.ino +++ b/examples/Gamepad/Gamepad.ino @@ -5,6 +5,9 @@ Gamepad example Press a button and demonstrate Gamepad actions + You can also use Gamepad1,2,3 and 4 as single report. + This will use 1 endpoint for each gamepad. + See HID Project documentation for more infos https://github.com/NicoHood/HID/wiki/Gamepad-API */ diff --git a/keywords.txt b/keywords.txt index bf69108..ed8860a 100644 --- a/keywords.txt +++ b/keywords.txt @@ -66,6 +66,10 @@ RawHID KEYWORD1 System KEYWORD1 Consumer KEYWORD1 Gamepad KEYWORD1 +Gamepad1 KEYWORD1 +Gamepad2 KEYWORD1 +Gamepad3 KEYWORD1 +Gamepad4 KEYWORD1 TeensyKeyboard KEYWORD1 NKROKeyboard KEYWORD1 AbsoluteMouse KEYWORD1 diff --git a/src/HID-Project.h b/src/HID-Project.h index 8915693..25ac9f2 100644 --- a/src/HID-Project.h +++ b/src/HID-Project.h @@ -42,6 +42,7 @@ THE SOFTWARE. #include "SingleReport/BootMouse.h" #include "MultiReport/ImprovedMouse.h" #include "MultiReport/Consumer.h" +#include "SingleReport/SingleGamepad.h" #include "MultiReport/Gamepad.h" #include "MultiReport/System.h" //#include "RawHID.h"