make
in the retrogame folder)? Assuming that you did that, when you type sudo ./retrogame
and then press your button, it should give you a keyboard press equivalent of whatever you mapped your button to. (if you mapped your button to 'C' it should output 'c', if you mapped an arrow key or something, it will give you some funky output, but you'll know that it's working.) If nothing happens, then there is either some problem with your modifications to the code or some problem with your connections. It looks like you're new here. If you want to get involved, click one of these buttons!