TeamTalk 4 .NET DLL
Version 4.5A
|
Static Public Member Functions | |
static int | KeyTranslate (TTKeyTranslate nTranslate, DesktopInput[] lpDesktopInputs, out DesktopInput[] lpTranslatedDesktopInputs) |
Translate platform key-code to and from TeamTalk's intermediate format. More... | |
static bool | Execute (DesktopInput[] lpDesktopInputs) |
Execute desktop (mouse or keyboard) input. More... | |
|
static |
Translate platform key-code to and from TeamTalk's intermediate format.
Read section Desktop Input and Keyboard Layouts on how to translate key-codes.
nTranslate | The key-code format to translate to and from. |
lpDesktopInputs | An array of BearWare.DesktopInput structs to translate. |
lpTranslatedDesktopInputs | A pre-allocated array of BearWare.DesktopInput struct to hold the translated desktop input. |
nDesktopInputCount
then some uKeyCode
values could not be translated and have been assigned the value BearWare.TeamTalk4.TT_DESKTOPINPUT_KEYCODE_IGNORE.
|
static |
Execute desktop (mouse or keyboard) input.
When executed either a key-press, key-release or mouse move will take place on the computer running the client instance. Remember to calculate the offsets for the mouse cursor prior to this call. The mouse position will be relative to the screen resolution.
The content of the BearWare.DesktopInput struct must been translated to the platform's key-code format prior to this call. I.e. uKeyCode must be a either a Windows scan-code, Mac OS X Carbon key-code or one of the mouse buttons: BearWare.TeamTalk4.TT_DESKTOPINPUT_KEYCODE_LMOUSEBTN, BearWare.TeamTalk4.TT_DESKTOPINPUT_KEYCODE_RMOUSEBTN, BearWare.TeamTalk4.TT_DESKTOPINPUT_KEYCODE_MMOUSEBTN.
lpDesktopInputs | The mouse or keyboard inputs. |