I think I’m having the same issue as you, jayce.
I’ve tried going through the controller configuration a few times. I got the “script error” before both when only RetroArch was checked, but also when others are checked.
If I only check the RetroArch option, I can go through the complete configuration and save it and test it. But it only kind of works in-game. In a couple games, the A, B, X, Y buttons work, but not the direction pad. But the direction pads work when navigating the Emulatorstation menu, for example, I’m using the direction pads to select which game to start. Once the game starts, the direction pad doesn’t register.
I’m using Logitech Cordless rumble pad 2, but I have another generic brand coreless controller and a similar thing happens.
On my RPi, I’m using the latest (as of last night) SD card image.
I’m not sure if this helps, but it seems this exact some question has been posed several times before:
I don’t see any straight forward solutions in those posts. Some of the suggestions I just don’t understand – like “You need to use retroarch-joystick and put its output into ~/RetroPie/configs/all/retroarch.cfg”
Hoping for some responses that would clarify this.