Some of those construction staple guns use a blank .22 or .25 cartridge. I am familiar with the Hilti gun.
https://www.homedepot.com/p/Hilti-DX-0-27-Caliber-Boosters-Cartridge-Yellow-20-per-Pack-337527/205824866
That seems to be how they did it.