These are replacement buttons for the light saber. It will let you install small momentary switches in the holder parts so you can install electronics inside and control it from the switches.
Just glue the holder to the lightsabel clamp instead of the lightsaber knobs from original design. Also the lightsaber innards can be skipped. Then just glue the switch to the holder. And then glue the button on the switch. Just be careful when gluing so no glue ends up on the wrong place on the switch. Make sure to dry fit before gluing so everything fits properly. You need to print 2x buttons as it is used for both holder A and holder B.
The switch I'm using is 6x6x3.