Having trouble with keyboard modifiers using USBHost

Hello there,
This is my first time using the USBHost library and I'm having a few issues. I want to make code that checks for only if the right shift key is pressed. There is no way I can think of that would make this work. I have tried the integer values but I just get the error message

exit status 1
no matching function for call to 'KeyboardController::getModifiers(int&)'

when I use the integer values, and a similar error when I use keyboard.getModifiers(RightShift)
Please help with code that only checks for if right shift is pressed.
Thanks

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.