Help with 8Bitdo N30/F30 Pro and legacy firmware

I flashed the Legacy Firmware 2.0 but it gets detected as MFI Controller and the select and start buttons cannot be mapped. Any way to make this controller be able to use all the buttons?

I believe on IOS 9 and an older version of Retroarch I was able to map all hhe buttons and it would pick it up as a 8Bitdo N30 Pro

Currently using IOS 12.1.1 and Retroarch 1.7.6 and a F30 Pro with Legacy firmware 2.0

*Edit

OK so the only way to make work is by pairing it in icade mode which is hold power+a

I also chose SNES30 8Bitdo as the controller in Retroarch instead of iPega PG-9017

Now I can map the start and select buttons but the L2 and R2 buttons now show the same mapping as L1 and R1