Need help with using a rotary switch for a HID input

Just wire it so it looks electrically like a potentiometer.