This is a simple model to let you hang your Ryobi 18v charger on standard American pegboard (¼" holes, 1" spacing). Credit to @brnhx_289665 for the pegboard peg model which is used here (also to @ScruffyOrc_217627 for this model, though I didn't end up using it).
The model was made in OpenSCAD and is lightly parameterized to support other keyhole distances, so this might work for other similar objects you want to mount. If you leave a comment with the dimensions you need I'd be happy to upload other variants as well.
I recommend printing this on its side with (snug) supports. This will ensure the pegs and keys are strongly attached to the body of the model and shouldn't sheer off as easily as other orientations would. I used PETG for additional strength though I wouldn't be surprised if PLA is plenty strong enough in this orientation. I didn't bother changing the number of perimeters but you can do so for even more rigidity.
The author marked this model as their own original creation.