Okay, I'm doing better. I got the code onto the board, the problem was the file folder like you suggested. My new problem is this: Where do I attatch the Ack wire from the controller? I can't seem to find the answer to that. And I may need to change what pin # it is, for the Mega. What line of code dictates the Ack pin?
Also, I want to change the pins for Data, Attn, Clk, and Comand too. Am I right to change it in this line of code:
error = ps2x.config_gamepad(13,11,10,12, true, true); //setup pins and settings: GamePad(clock, command, attention, data, Pressures?, Rumble?) check for error