I usually mount encoders by just gluing them in place. JB weld works great. But I got this low profile one from beekeeb and if you put glue on the bottom it will stop it from rotating. I’m trying to think of other strategies. Right now I’m working on a way to somehow mount it to the bottom half of a choc switch and then glue the switch to the pcb, but still don’t have a good way to do it.
Edit: To be clear, I’m not trying to mount this in a pcb designed for an encoder. I’m putting it in place of a typical switch on a pcb. In the past I’ve just used JB weld on the bottom of an EC11 to hold it in place and it worked great. The issue with this one is that the bottom is open, so if I use any kind of glue to mount it the glue will also prevent the encoder from rotating. You can see what I mean here: https://shop.beekeeb.com/wp-content/uploads/2022/07/IMG_2433-scaled.jpg
The issue is if I try to use any kind of glue to mount it, the glue will also prevent the encoder from rotating because the bottom is open. It’s not like an EC11 where the bottom is metal. You can see what I mean here: https://shop.beekeeb.com/wp-content/uploads/2022/07/IMG_2433-scaled.jpg
But why do you need glue? It’s got an EC11 footprint, solder it to that.
Okay, just saw your edit. What’s stopping you from just modifying the PCB in kicad and swapping a switch footprint, rather than bodging it?
Anyway, yeah, dremmeling out a choc bottom sounds a reasonable solution. Or just be careful and only glue the perimeter