One question...
This homebrew funtion whith PS3 fake controller or only originals ???
This is hard to know without testing, as it depends whether those fake controllers identify and behave closely enough to the real thing to "fool" Bloopair.
Weird analogy: you can picture Bloopair like a bouncer at a night club. The bouncer is only letting in people he knows: the Switch Pro Controller, Xbox One S/X pads, DualShock 3 & 4, etc. Now, let's say two different fake/third-party DS3s show up. Fake #1 says "Hi, my name is Jeff. I'm basically a DS3 controller, I support all the normal DS3 things." Bloopair says "I don't know a Jeff, get out of my face." Fake #2 says "Hmm. That was weird. Uh, I don't know that Jeff guy. I'm a totally normal DS3, made by, um ... Sorny? Yeah. Nothing weird going on here," and Bloopair says "DS3! Hey buddy, come on in!"
On a more technical level, Bluetooth devices all come with a vendor ID and a product ID. They also come with a name, but Bloopair is currently only concerned with the VID/PID, so the name is irrelevant. If your fake DS3 pads present themselves with the same VID/PID as real Sony ones, they will most likely work, as long as there's nothing super weird about the way they operate (there shouldn't be, or they'd be bad fakes, but it's possible). But if they have unique VID/PIDs, then Bloopair would need to be modified to recognize that VID/PID combo and treat it like a DualShock 3.
Ultimately, it should be
possible to use those fake pads, it's just a matter of whether they work already or would need a tweak to Bloopair first.