示例#1
0
void EyeXHost::TriggerActivation()
{
	TX_HANDLE command(TX_EMPTY_HANDLE);
	txCreateActionCommand(_context, &command, TX_ACTIONTYPE_ACTIVATE);
	txExecuteCommandAsync(command, NULL, NULL);
	txReleaseObject(&command);
}
示例#2
0
void EyeXGaze::TriggerActivation()
{
	TX_HANDLE command(TX_EMPTY_HANDLE);

	// set command in context as click activation button.
	txCreateActionCommand(_hContext, &command, TX_ACTIONTYPE_ACTIVATE);

	//execute command
	txExecuteCommandAsync(command, NULL, NULL);
	txReleaseObject(&command);
}