Yes, you need to implement them as custom toggle switches using the quaggles mod.
{ down = gear_commands.LaunchBarSw, cockpit_device_id = devices.GEAR_INTERFACE, value_down = 1.0, name = _('Launch Bar Control Switch - EXTEND'), category = {_('Custom Commands')}},
{ down = gear_commands.LaunchBarSw, cockpit_device_id = devices.GEAR_INTERFACE, value_down = -1.0, name = _('Launch Bar Control Switch - RETRACT'), category = {_('Custom Commands')}},
{ down = cptlights_commands.HookBypass, cockpit_device_id = devices.CPT_LIGHTS, value_down = 1.0, name = _('HOOK BYPASS Switch - FIELD'), category = {_('Custom Commands')}},
{ down = cptlights_commands.HookBypass, cockpit_device_id = devices.CPT_LIGHTS, value_down = -1.0, name = _('HOOK BYPASS Switch - CARRIER'), category = {_('Custom Commands')}},