Simulating keyboard keypresses for a foot controlled keyboard extension.

I added

#include <Keyboard.h>

Still get the same error.

I appreciate your response and fixed the formatting on my code as per your suggestion.