I have these to add a rotary encoder + switch to a slot on a mechanical keyboard (specifically the Drop/OLKB Planck keyboard). They work great programming my board with QMK. Just make sure the encoder is set up correctly in QMK (mine initially moved twice as far as it should rotate for a click). The good thing about them is that they're relatively short, so they don't stick out too far above the rest of the keycaps. I ended up 3D printing a pen for myself, but it's a standard size so finding the right pen should be easy.
Universal Rotary Cam Selector Latching Switches - VictorsHome Changeover Switch LW28-32 With 3 Positions, 12 Terminals For 690V, 32A Capacity
9 Review
🌀 NuTone 5901A000 Blower Wheel Assembly: Superior Efficiency and Performance
9 Review
Adjustable AC Current Sensing Switch: SZC23 No AL-CH Model, 0.2A-30A Range
14 Review
Vacuum cleaner KARCHER VC 3, yellow
176 Review