@hoangnganvy1993 only thing cleaner I'm aware off would be to pull apart a xbox360 or ps3 controller and reuse the electronics board inside if possible.
also be aware you won't be able to use recalbox at all with just analog joystick, the main interface for selecting games only works with digital pad