jwick wrote:Like VBS? No unfortunately not. Are you a C/C++ programmer? I can email you a sample project (make sure your registered email address is correct). The extension mechanism works by allowing you to define a function in a DLL or an Exe, .bat, .vbs or whatever each time an event occurs. You can write this DLL function/script/... yourself. Take a look at the sample ZBrush4 profile. You will see that for each axis, the action is a function pulled out of a DLL that we ship. You can build your own DLL. In that DLL, you can use SendInput to send keystrokes in any order you want. DLL functions can be written for buttons and axes. You have to keep track of releasing the keys, as you want below for the alt+space+mouse left/right.
Well, that sounds wonderful, but unfortunately a little out of my league.
I'd probably end up spending far more time getting this right than I can afford. I'm just a Web developper after all, and HTML, PHP and Javascript is more my cup of tea...
I'd gladly pay someone to do some custom scripting for custom profiles though...
Or better, I'd be delighted if somehow you could find a way to add a GUI based mouse axis mapping to the 3DMouse various axis's and buttons.
jwick wrote:You can do that, but not in the GUI. You have to edit the macro itself. That doesn't work though for multiple buttons...
I found other posts from users trying to accomplish sort of a similar thing:
viewtopic.php?t=4798where the user says:
Voidward wrote:...I recently made a macro for photoshop which is alt rightclick mouse left/right which uses photoshop's opengl based brush resizer...
So how did he accomplish that? By using the dll method you mentionned?
Also:
viewtopic.php?t=4837where the user inquires:
Voidward wrote:Is there a way to change the xml file in areas like <keypress> / <keyrelease> towards <pressandhold>?
E.g. it would be beneficial to use the two sidebuttons of the navigator assigned to certain keys- e.g. "Shift".
to which you reply:
jwick wrote:There are predefined actions for Shift, Ctrl, Alt, most keys. The predefined ones all work as PressAndHold. That is, they are pressed when you press the device button, then released when you release the button. In the profile, these are tagged with Type="Keyboard", not "Macro". Macros are quickly pressed and released and obviously can contain any number of keys. Keyboard actions are pressed and held and can only be a single key.
You can't define them in the GUI. If they are not in the profile for your application, copy them from the base.xml into your profile's ButtonActions list. Everything you can do is in the base. When you create an application profile, you are picking and choosing items from the base.
There is nothing to prevent you from defining your own Keyboard actions. You need to follow the trail to connect up all the pieces. In particular, the keyboard (and macros) are actually defined in the language file (e.g. en-us_def.xml). References to those items are used in the profiles.
SO if I get this all right, these are my three options:
*Edit my Photoshop profile incorporating bits from the base.xml, so I can assign keyboard actions to one of my buttons (option which is not currently listed in the Macro function drop down menu). This method ensures that I do get the 'press and hold' behavior I'm after, BUT also means I'm restricted to a single key and no mouse axis mapping is possible.
*Use a GUI macro which can contain any number of keys, but exhibits a 'press and release' behavior. Also, no mouse axis mapping is possible by default.
*Use a custom macro, which would allow me to achieve my goal, but involves some (fairly easy to some, probably time-consuming for others
) custom coding of the xml and ddl files.
Right?
Also, last question (I promise!): The advanced and macro functions interface on 3DxConfig in MAC OSX seems a bit more powerful and flexible than it is in 3DxConfig on Windows, from what I can gather.
Would it be possible to achieve what I want on a Mac and then somehow import the custom application xml template on my PC? (only asking cos I assume the xml's used by your driver are not vastly different from one OS to the next.)
Thanx again for bearing with me on this! Much appreciated...
And please please please, consider adding more GUI based custom mapping options to the Space navigator Axis's and buttons.
Thanx.