Leap motion, now that would be a cool trick! Then you can be a jedi knight engineer/designer. A protk file is how you tell proe to find the dll. Here's part of what the contents of mine looks like:
# Pro/Engineer registry file
name 3DxProENGINEER
startup dll
exec_file C:\Program Files\3Dconnexion\3Dconnexion 3DxSoftware\3DxProENGINEER64\creo2\x86e_win64\obj\3dxcreo.dll
text_dir $TEMP\3DxProENGINEER
end
From there, you're on your own. Trail files might have some useful clues as to the values to pass along. If I manipulate an object and look at my trail file, I see something like this, which are the commands being sent:
>3 Pgl3dMove ProeWin2 0.000000 0.000000 0.000000 0.000000 0.000000 -0.000400 1f 0 0
>3 Pgl3dMove ProeWin2 0.000000 0.000000 0.000000 -0.002800 0.000000 -0.009200 1f 0 0
>3 Pgl3dMove ProeWin2 0.000000 0.000000 0.000120 -0.012800 0.000000 -0.030400 1f 0 0
>3 Pgl3dMove ProeWin2 0.000000 0.000000 0.000280 -0.028400 -0.001200 -0.055600 1f 0 0
>3 Pgl3dMove ProeWin2 -0.000800 -0.000800 0.000320 -0.028000 -0.000800 -0.052000 1f 0 0
>3 Pgl3dMove ProeWin2 -0.001200 -0.002000 0.000240 -0.010400 0.000000 -0.020400 1f 0 0
>3 Pgl3dMove ProeWin2 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 1f 0 0