JXInput quick help

Im trying to get JXInput to work, but i’m having some trouble when it comes to event handling, i cant figure out how to make it work. Can someone point in the direction of some sample code? I just want to figure out how to make ButtonListener work. Thanks

nevermind i figured it out.

It’s always nice to show how you helped yourself, it may be useful for other people some time…