If you use a teensy as your gamepad it is very easy to set up the 3ds slider as a mouse then setup retroarch to use mouse input for analog joysticks. Plus the teensy is tiny and has media button controls, joystick, and keyboard inputs. It is fairly easy to code it in arduino. I have some code...