XPluginHelper::SendCommand

Xlobby plugin development

XPluginHelper::SendCommand

Postby badubo on Thu Jun 24, 2004 2:16 am

Hello,

According to your documentation, XPluginHelper::SendCommand only accept "invalidate" but in the usb_uirt plugin you use it
i.e. :
this.xhelper.SendCommand("ir>"+command);
How does it work ?
badubo
 
Posts: 505
Joined: Mon May 03, 2004 7:33 pm
Location: Belgium

Postby stevenhanna6 on Sun Jun 27, 2004 12:47 am

According to your documentation, XPluginHelper::SendCommand only accept "invalidate" but in the usb_uirt plugin you use it


documentation is incomplete! invalidate is just ONE command, you will be able to trigger ANY of the commands in event manager from a plugin.

this.xhelper.SendCommand("ir>"+command);
How does it work ?


when you make an ir plugin each button should be assigned a unique id, you would send this id to xlobby with that command. But if you look at what the variable command really is it looks like this

ir>irid:128736213

where 128736213 is the unique ir id.
stevenhanna6
 
Posts: 904
Joined: Tue Feb 18, 2003 10:39 am
Location: Ontario, Canada