Hi, I'm trying to emulate an xbox controller on an arduino leonardo using the xinput library. However, the library requires you to use a custom board name in the IDE for anything other than a debug. When I try to upload or compile the code, I get this error: recipe.preproc.macros pattern is missing
Error compiling for board Arduino Leonardo w/ XInput. Any idea on what I should do? Code is down below.
I was not able to reproduce the error and I see that the "XInput AVR Boards" boards platform does indeed define a recipe.preproc.macros property:
So I can only suggest that you uninstall the "XInput AVR Boards" boards platform and then install it again in case you messed it up in some way on the first attempt.