# 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
		KEY_1          0x8877
		KEY_2          0x48B7
		KEY_3          0xC837
		KEY_POWER      0x10EF
		KEY_4          0x28D7
		KEY_5          0xA857
		KEY_6          0x6897
		        0xB04F
		KEY_7          0xE817
		KEY_8          0x18E7
		KEY_9          0x9867
		KEY_VIDEO      0x30CF
		100        0xA05F
		    0x08F7
		RECALL     0xD827
		KEY_SLEEP      0x708F
		       0x20DF
		       0xE01F
		    0x609F
		      0x58A7
		    0x38C7
		        0xF807
		KEY_CHANNELDOWN        0x807F
		KEY_CHANNELUP        0x00FF
		    0xD02F
		 0x906F
		KEY_VOLUMEDOWN       0xC03F
		KEY_VOLUMEUP       0x40BF
	end codes
end remote
