Problem with Game Control Plus library button pressed

Hi, Thanks for the reply.
The configurator does recognize and respond to the buttons. (When pressing the buttons while running the configurator, the red light on the congifurator’s blocks blink) Therefore I assumed that my game controller and Processing were successfully connected and the error is in my codes.
I did try a simple code that prints a certain string when the button is pressed, as I wrote above, but nothing happens.
Is there something wrong with the code above? If not, is there nothing I can do to fix this error?
Thank you.