Jump to content
C4 Forums | Control4

DriverWorks BUTTON_LINK


Parity

Recommended Posts

Can someone help with DRIVERWORKS / LUA / SDK assistance.

I am writing a driver which has a BUTTON_LINK connection.  The idea is that on a specific event, it will "CLICK" the button.  This could be linked to a light or an AV device such as a Play/Pause link on an AV device.

I am able to send very specific proxy commands such as PLAY or PAUSE or STOP if its an AV device. For example:  C4:SendToProxy(2, "PLAY", {} , "COMMAND")

But if it is bound to a light then it needs commands such as ON or OFF.  C4:SendToProxy(2, "ON", {} , "COMMAND")

I was expecting the Director to understand the binding to be able to do this.  According to the SDK documenattion the following should work but doesn't: C4:SendToProxy(2, "CLICK_COUNT", {COUNT=1} , "COMMAND")

 

Link to comment
Share on other sites


Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.