@mitu Whew. It's getting weird now.
I just built the latest version of SDL2 from github.
cmake sees SDL2 as 2.29.0 now instead of the previous 2.0.10.
So then I rebuilt Emulation Station.
The preinstalled Emulation Station was v2.11.2rp. The one I've built identifies as 2.12.0rp-dev.
The good news:
Emulation Station now recognizes my L2/R2 triggers!
The weird news:
When I launch retroarch emulators, they do not recognize my L2/R2 trigger presses.
While the bluetooth dialog still reports my controller name as "8Bitdo SN30 Pro" when I pair and connect it, this newly-built version of Emulation Station reports it as "Xbox 360 Controller".