TRANSPORT_PROTOCOL

Post questions, comments and feedback to our 3Dconnexion Windows Development Team.

Moderator: Moderators

Post Reply
striso
Posts: 3
Joined: Thu May 03, 2007 5:19 am

TRANSPORT_PROTOCOL

Post by striso »

Hello,

documentation does not mention TRANSPORT_PROTOCOL. What is the meaning of TRANSPORT_PROTOCOL in configuration file (.scg)? What is the difference between NO_TRANSPORT, MWM_TRANSPORT, PXY_TRANSPORT, S80_TRANSPORT and WIN32_KEYBOARD?

Thank you in advance.

Best regards
striso
jwick
Moderator
Moderator
Posts: 3337
Joined: Wed Dec 20, 2006 2:25 pm
Location: USA
Contact:

Post by jwick »

Hi striso,

Many things are not documented in the .scg files <G>

TRANSPORT_PROTOCOL is a hint to the driver of how an application is planning on communicating with the driver.

NO_TRANSPORT means nothing in particular is specified. Either MWM or S80 will be handled.

MWM_TRANSPORT indicates that the application will use an old Windows messaging protocol that is only used by a few applications.

S80_TRANSPORT indicates that the application is using the 3Dx C/C++ SDK mechanism.

PXY_TRANSPORT indicates that the application uses a Proxy DLL (UdPxy directory DLL -- a callback mechanism used by 3DxOffice).

WIN32_KEYBOARD is the only one that absolutely needs to be specified. It indicates that this application is only supported by throwing keyboard macros at it. All the other protocols will register with the driver to indicate that they are interested in receiving events. WIN32_KEYBOARD applications are "write only". They never contact the driver. It is up to the driver to notice that they are in focus and start sending keyboard events to them.
striso
Posts: 3
Joined: Thu May 03, 2007 5:19 am

Post by striso »

Hello,

thanks for info. I am using C/C++ API, so I it seems that best value for transport protocol is S80_TRANSPORT.

Best regards
striso
jwick
Moderator
Moderator
Posts: 3337
Joined: Wed Dec 20, 2006 2:25 pm
Location: USA
Contact:

Post by jwick »

Yes that is correct.
Post Reply