Hi, could use help programming my controller

Hello,

I recently purchased a Samsung galaxy A7 lite And have converted it into a gaming device, which has worked out well, for the most part, but I am having g trouble configuring my XBOX Series controller to work with arcade roms. Retro arch detects the device easily enough, and the face buttons work, though sometimes the buttons are reversed (for example, street fighter 2 controls are sometimes mixed up with x being a kick when it should be a punch, or it’s the wrong strength) I’ve been able to correct these problems, BUT, I can’t get retroarch to detect the bumpers and triggers on my controller.

I need the bumpers for the third punch and kick and assign the triggers to a 3x punch/kick binding, but I’m not sure what to do. I don’t want to mess something up. Any help would be appreciated.