# brand:             Hitachi Fujian
# model:             VM222
# supported devices: TV
#
# contributed by DJ Eaton <zjgpa@noviota.virtualave.net>

begin remote

  name  HFTV
  bits            8
  flags SPACE_ENC|CONST_LENGTH
  eps            30
  aeps          100

  one           277  1831
  zero          277   777
  ptrail        277
  pre_data_bits   8
  pre_data       0xE2
  gap          46408
  min_repeat      1
  toggle_bit      0


      begin codes
	'POWER'               0x0000000000000040    # Power
	'RECALL'              0x00000000000000D8    # Recall
	'1'                   0x0000000000000000    # 1
	'2'                   0x0000000000000010    # 2
	'3'                   0x0000000000000008    # 3
	'4'                   0x0000000000000018    # 4
	'5'                   0x0000000000000004    # 5
	'6'                   0x0000000000000014    # 6
	'7'                   0x000000000000000C    # 7
	'8'                   0x000000000000001C    # 8
	'9'                   0x0000000000000080    # 9
	'0'                   0x0000000000000090    # 0
	'1#'                  0x0000000000000088    # 1#
	'2#'                  0x0000000000000098    # 2#
	'PMODE'               0x00000000000000BC    # PMode
	'PMODE-'              0x000000000000003C    # PMode-
	'PMODE+'              0x000000000000002C    # PMode+
	'VOLUMEUP'            0x0000000000000044    # Vol+
	'VOLUMEDOWN'          0x0000000000000054    # Vol-
	'CHANNELUP'           0x0000000000000050    # Ch+
	'CHANNELDOWN'         0x0000000000000048    # Ch-
	'MUTE'                0x000000000000004C    # Mute
	'OFF-TIMER'           0x00000000000000E8    # Off-Timer
	'TIMER'               0x00000000000000F8    # Timer
	'T.MOD'               0x00000000000000F4    # T.Mod
	'CLOCK'               0x00000000000000EC    # Clock
      end codes

end remote
