# contributed by:
#	Kipp Cannon <kipp|gravity.phys.uwm.edu>
#
# brand:
#	Magnasonic
# model no. of remote control:
#	Unknown
# devices being controlled by this remote:
#	TV (GCT602)
#
# Notes:
# The "SAP" and "VIDEO" buttons are hidden inside the remote.  They can be
# revealed by opening the remote, and cutting two extra holes in the top
# cover above the correct locations on the keyboard.  The modulation
# frequency is not known, so lirc's default value is recorded here.

begin remote
	name	MAGNASONIC_TV
	flags	SPACE_ENC|CONST_LENGTH
	eps	30

	frequency	38000
	header	9100	4402
	one	660	1605
	zero	660	475
	ptrail	660
	repeat	9100	2160
	gap	108000

	bits	16
	pre_data_bits	16
	pre_data	0xC15E
	toggle_bit	0

	begin codes
		1          0x8877
		2          0x48B7
		3          0xC837
		POWER      0x10EF
		4          0x28D7
		5          0xA857
		6          0x6897
		SAP        0xB04F
		7          0xE817
		8          0x18E7
		9          0x9867
		VIDEO      0x30CF
		100        0xA05F
		0/AM/PM    0x08F7
		RECALL     0xD827
		SLEEP      0x708F
		PROG       0x20DF
		AUTO       0xE01F
		ADD/DEL    0x609F
		Q.REV      0x58A7
		CLK/TIM    0x38C7
		SET        0xF807
		CH-        0x807F
		CH+        0x00FF
		PICTURE    0xD02F
		MUTE/RESET 0x906F
		VOL-       0xC03F
		VOL+       0x40BF
	end codes
end remote