config IR_SEND
	bool "IR Send Library"
	help
	  Enable IR transmission library for laser tag system.
	  Provides PWM-based IR carrier generation with pulse-distance coding.

if IR_SEND

menu "IR Protocol Configuration"

config IR_SEND_CARRIER_HZ
	int "IR carrier frequency (Hz)"
	default 38000
	range 30000 45000
	help
	  Carrier frequency for PWM generation. Standard value is 38 kHz
	  for TSOP48xx receivers. Adjust only if using different receivers.

config IR_SEND_DUTY_CYCLE_PERCENT
	int "Carrier duty cycle (%)"
	default 50
	range 25 75
	help
	  PWM duty cycle percentage. Some receivers prefer 33%, others 50%.
	  Default 50% works with most TSOP-series receivers.

config IR_PROTO_BASE_US
	int "IR Basistakt (Mikrosekunden)"
	default 600
	range 300 1000
	help
	  Gemeinsamer Basistakt für Mark/Space/Start. Standard 600 µs (Sony SIRC ähnlich).

config IR_PROTO_START_MULT
	int "Startburst Faktor"
	default 4
	range 2 8
	help
	  Startburst-Dauer = Basistakt × Faktor. Standard 4× zur sicheren Synchronisation.

config IR_PROTO_GAP_MULT
	int "Start-Gap Faktor"
	default 1
	range 0 4
	help
	  Gap nach Startburst (Träger AUS) = Basistakt × Faktor. 0 deaktiviert Gap.

config IR_PROTO_MARK_MULT
	int "Mark Faktor"
	default 1
	range 1 2
	help
	  Mark-Dauer = Basistakt × Faktor. Standard 1×.

config IR_PROTO_SPACE0_MULT
	int "Space0 Faktor (Bit 0)"
	default 1
	range 1 3
	help
	  Space für Bit 0 = Basistakt × Faktor. Standard 1×.

config IR_PROTO_SPACE1_MULT
	int "Space1 Faktor (Bit 1)"
	default 2
	range 1 4
	help
	  Space für Bit 1 = Basistakt × Faktor. Standard 2× (doppelte Basiszeit).

endmenu

endif
