# Add these lines into your /etc/heyu/x10.conf
# Then execute:
#   heyu restart
#   heyu engine


#
# Set-up aliases for the keys you're using on the RF remote
#
ALIAS cosmic1 E9
ALIAS cosmic2 E10
ALIAS cosmic3 E11
ALIAS cosmic4 E12
ALIAS cosmic5 E13
ALIAS cosmic6 E14
ALIAS cosmic7 E15
ALIAS cosmic8 E16

#
# These are the common keys, traditionally at the top & bottom
# of the remote.
#
SCRIPT cosmic1 on :: /usr/local/minerva/bin/mixer default dec master 10
SCRIPT cosmic1 off :: /usr/local/minerva/bin/mixer default inc master 10
SCRIPT cosmic2 on :: /usr/local/minerva/bin/mixer default toggle
SCRIPT cosmic2 off  :: /usr/local/minerva/bin/pmedia default
SCRIPT cosmic7 on :: /usr/local/minerva/bin/cosmic default modestatus
SCRIPT cosmic7 off  :: /usr/local/minerva/bin/cosmic default nextmode
SCRIPT cosmic8 on  :: /usr/local/minerva/bin/status
SCRIPT cosmic8 off :: /usr/local/minerva/bin/cosmic default root

#
# The real cosmic handlers
#
SCRIPT cosmic3 off :: /usr/local/minerva/bin/cosmic default e3off
SCRIPT cosmic3 on  :: /usr/local/minerva/bin/cosmic default e3on
SCRIPT cosmic4 off :: /usr/local/minerva/bin/cosmic default e4off
SCRIPT cosmic4 on  :: /usr/local/minerva/bin/cosmic default e4on
SCRIPT cosmic5 off :: /usr/local/minerva/bin/cosmic default e5off
SCRIPT cosmic5 on  :: /usr/local/minerva/bin/cosmic default e5on
SCRIPT cosmic6 off :: /usr/local/minerva/bin/cosmic default e6off
SCRIPT cosmic6 on  :: /usr/local/minerva/bin/cosmic default e6on


