Hi
Using [IKeypress, modifier key, sequence of zscript commands ] you can simulate a key(s) being pressed while other commands run. The Modifier Key can be an Ascii value such as 13, for the return key, or 27 for the escape key. Which is useful to immediately accept or cancel a load/save dialog window.
In your case you can use SHIFT, CTRL and ALT to simulate modifier keys. You can also combine them. For example, SHIFT+ALT. Sometimes you will see them used in zscripts by their numerical values, 256 for SHIFT, 512 for CTRL and 1024 for ALT.
But [IKeyPress,…] will unfortunately only take care of your panning. Like this :
[IKeyPress, ALT, [IClick, 1004, 4096, 4096, 4096+deltaX, 4096+deltaY]]
For scaling the model you would need to simulate a ALT keypress AND a release of the ALT key before performing any [IClick,…] or [CanvasClick,…].
I believe Marcus used [CanvasStroke, stroke data] for one of his plugins to scale a tool on the canvas. Unfortunately the documentation of stroke data is very sparse (there are multiple types of stroke data) and I have no idea if the data format still applies. But in any case see >>this<< for some stroke data parameters of one of the stroke types.
Hope that was somewhat helpful. A full, unencumbered integration of the PS3 Move controller is probably not something you are going to make happen through zscripting. But if you are serious in getting it to work, perhaps akin to how Media Molecule were sculpting at the PlayStation 4 reveal…then you should probably get in contact with someone at Pixologic. Not sure Media Molecule’s way of modeling would fit ZBrush, but perhaps Sculptris ?