Strange behave
adys
Posts: 395
I have the folowing code:
BUTTON_EVENT[tpList, TOOL_BAR_WAKEUP]
BUTTON_EVENT[tpList, TOOL_BAR_SECURITY]
BUTTON_EVENT[tpList, TOOL_BAR_DRAPES]
BUTTON_EVENT[tpList, TOOL_BAR_VIDEO]
BUTTON_EVENT[tpList, TOOL_BAR_AUDIO]
BUTTON_EVENT[tpList, TOOL_BAR_HVAC]
BUTTON_EVENT[tpList, TOOL_BAR_LIGHTS]
{
PUSH:
{
SWITCH(BUTTON.INPUT.CHANNEL)
{
CASE TOOL_BAR_WAKEUP:
{
}
CASE TOOL_BAR_SECURITY:
{
}
CASE TOOL_BAR_DRAPES:
{
}
CASE TOOL_BAR_VIDEO:
{
updateSourceScreen(tpList)
updateVolumeScreen(tpList)
updateSpeakersScreen(tpList)
}
CASE TOOL_BAR_AUDIO:
{
}
CASE TOOL_BAR_HVAC:
{
}
CASE TOOL_BAR_LIGHTS:
{
}
} // END OF - SWITCH
} // END OF - PUSH
}
When I debug it, I get into the case but not to the TOOL_BAR_VIDEO
It was a multi state button
I change it to general, removed the commnads, change the channel, set address code to none.
the strange thing is that its get into the button event but looks like I don't get right BUTTON.INPUT.CHANNEL...
Any idea?
thanks
Ady
BUTTON_EVENT[tpList, TOOL_BAR_WAKEUP]
BUTTON_EVENT[tpList, TOOL_BAR_SECURITY]
BUTTON_EVENT[tpList, TOOL_BAR_DRAPES]
BUTTON_EVENT[tpList, TOOL_BAR_VIDEO]
BUTTON_EVENT[tpList, TOOL_BAR_AUDIO]
BUTTON_EVENT[tpList, TOOL_BAR_HVAC]
BUTTON_EVENT[tpList, TOOL_BAR_LIGHTS]
{
PUSH:
{
SWITCH(BUTTON.INPUT.CHANNEL)
{
CASE TOOL_BAR_WAKEUP:
{
}
CASE TOOL_BAR_SECURITY:
{
}
CASE TOOL_BAR_DRAPES:
{
}
CASE TOOL_BAR_VIDEO:
{
updateSourceScreen(tpList)
updateVolumeScreen(tpList)
updateSpeakersScreen(tpList)
}
CASE TOOL_BAR_AUDIO:
{
}
CASE TOOL_BAR_HVAC:
{
}
CASE TOOL_BAR_LIGHTS:
{
}
} // END OF - SWITCH
} // END OF - PUSH
}
When I debug it, I get into the case but not to the TOOL_BAR_VIDEO
It was a multi state button
I change it to general, removed the commnads, change the channel, set address code to none.
the strange thing is that its get into the button event but looks like I don't get right BUTTON.INPUT.CHANNEL...
Any idea?
thanks
Ady
0
Comments
No!
it didn't!
just return the button to be with ^ANI and with address code and loop back and again its not working...