REBLAPI

REBLAPI.REBLUSB ActiveX component

Installation:

Using an administrator commandline use the following command to register the component

regsvr32.exe REBLAPI.dll


Methods:

int GetNumDevices()
Returns the current number of REBL devices connected

int OpenDevice(int Num)
Openes USB connection to the specified REBL

int SendPS3KeySimple(unsigned char Key)
Sends the desired PS3 key [Key], with default holdtime of (80) and default delaytime after Key release (1000)

int SendPS3Key(unsigned char Key, unsigned int Holdtime, unsigned int Delay)
Sends the desired PS3 key [Key], holds it down for [Holdtime] and adds a delay [Delay] before returning

int SendPS3KeySimpleQueued(unsigned char Key)
Adds the desired PS3 key [Key], with default holdtime of (80) and delaytime of (1000) after Key release to the outgoing queue, this function returns immediately after adding the command to the queue.

int SendPS3KeyQueued(unsigned char Key, unsigned int Holdtime, unsigned int Delay)
Adds the desired PS3 key [Key] to the outgoing queue, with [Holdtime] and delay [Delay], but returns immediately after adding the command to the queue.



See the test script 'RE-BL test script.vbs' included in this package for a complete example on how to use the component