############################
## KEY_POWER (0x768940bf) ##
############################

# sunxi-ir (devinput): power on Touch remote
begin
	remote = devinput
	button = KEY_1
	repeat = 0
	prog = squeezelite
	config = power
end

#################################
## KEY_VOLUMEDOWN (0x768900ff) ##
#################################

# sunxi-ir (devinput): down arrow on Touch remote
begin
	remote = devinput
	button = KEY_EQUAL
	repeat = 0
	prog = squeezelite
	config = voldown
end

# sunxi-cir (lirc): down arrow on Touch Remote
begin
	remote = Slim_Devices_Squeezebox3
	button = KEY_DOWN
	repeat = 0
	prog = squeezelite
	config = voldown
end

###############################
## KEY_VOLUMEUP (0x7689807f) ##
###############################

# sunxi-ir (devinput): up arrow on Touch remote
begin
	remote = devinput
	button = KEY_6
	repeat = 0
	prog = squeezelite
	config = volup
end

# sunxi-cir (lirc): up arrow on Touch Remote
begin
	remote = Slim_Devices_Squeezebox3
	button = KEY_UP
	repeat = 0
	prog = squeezelite
	config = volup
end

# sunxi-ir (devinput): volume increase on Touch remote
begin
	remote = devinput
	button = KEY_ESC
	repeat = 0
	prog = squeezelite
	config = volup
end

###########################
## KEY_MUTE (0x7689c43b) ##
###########################

# sunxi-ir (devinput): sleep on Touch remote
begin
        remote = devinput
        button = KEY_LEFTCTRL
        repeat = 0
        prog = squeezelite
        config = muting
end

###########################
## KEY_PLAY (0x768910ef) ##
###########################

# sunxi-ir (devinput): play on Touch remote
begin
	remote = devinput
	button = KEY_7
	repeat = 0
	prog = squeezelite
	config = play
end

############################
## KEY_PAUSE (0x768920df) ##
############################

# sunxi-ir (devinput): pause on Touch remote
begin
	remote = devinput
	button = KEY_3
	repeat = 0
	prog = squeezelite
	config = pause
end

###########################
## KEY_NEXT (0x7689a05f) ##
###########################

# sunxi-ir (devinput): >> on Touch remote
begin
	remote = devinput
	button = KEY_4
	repeat = 0
	prog = squeezelite
	config = fwd
end

###############################
## KEY_PREVIOUS (0x7689c03f) ##
###############################

# sunxi-ir (devinput): << on Touch remote
begin
	remote = devinput
	button = KEY_2
	repeat = 0
	prog = squeezelite
	config = rew
end

###########################
## power_on (0x76898f70) ##
###########################

############################
## power_off (0x76898778) ##
############################
