Van Alstine rev 2 ABX Switch Manual - page 8
Appendix I, Infra Red (IR) codes:
Pressing “On-off “ followed by “mute” will place the ABX Switch in a mode where the received infra red
code is displayed. Pressing “On-off “ followed by “mute” again will exit this mode. Seeing the IR
command can be helpful if you are trying to use a different universal remote or (I have heard this is
possible) trying to use your smart phone as a remote for the ABX Switch. Below, copy/pasted from the
source code, is a list of the IR remote codes supported. The ABX Switch hardware uses “Sony” codes:
if ir_cmd = 25 then goto key_pause
;will toggle between unit number / xmit number / normal
if ir_cmd = 28 then goto key_ff
; toggles subv mode (sub volume)
if ir_cmd = 27 then goto key_rew
; currently not used
if ir_cmd = 21 then goto key_on_off
;on_off key (qualifier)
if ir_cmd = 0 then goto key_1
;"1" selects A source or goes to blind test if preceded by on/off
if ir_cmd = 1 then goto key_2
;"2" selects B source
if ir_cmd = 2 then goto key_3
;"3" toggles source
if ir_cmd = 3 then goto key_4
;"4" selects A amp
if ir_cmd = 4 then goto key_5
;"5" selects B amp
if ir_cmd = 5 then goto key_6
;"6" toggles amp
if ir_cmd = 6 then goto key_7
;"7" selects A speaker
if ir_cmd = 7 then goto key_8
;"8" selects B speaker
if ir_cmd = 8 then goto key_9
;"9" toggles between A and B speaker
if ir_cmd = 9 then goto key_0
;"0" selects C speaker
if ir_cmd = 101 then goto key_enter
;tv code, enter key
if ir_cmd = 11 then goto key_enter
;tv code when vcr not programmed?, enter key
if ir_cmd = 81 then goto key_enter
;vcr code, enter key
if ir_cmd = 37 then goto key_input
;tv code, input key
if ir_cmd = 42 then goto key_input
;vcr code, input key
if ir_cmd = 79 then goto key_input
;Onn remote
if ir_cmd = 97 then goto key_input
;* key Onn remote (placed opposite input key)
if ir_cmd = 16 then goto key_ch_plus
if ir_cmd = 17 then goto key_ch_minus
if ir_cmd = 18 then goto key_vol_plus
if ir_cmd = 19 then goto key_vol_minus
if ir_cmd = 20 then goto key_mute
if ir_cmd = 59 then goto key_prev_ch
;tv code
if ir_cmd = 40 then goto key_prev_ch
;vcr code
if ir_cmd = 77 then goto key_prev_ch
;exit key on Onn remote
if ir_cmd = 29 then goto key_rec
;if "rec" pressed, save state as pwr up profile in eeprom
if ir_cmd = 26 then goto key_play
if ir_cmd = 24 then goto key_stop