Mapping Axis rotation + translation to CLIP Studio Paint canvas navigation

Questions and answers about 3Dconnexion devices on Windows.

Moderator: Moderators

Post Reply
bvk
Posts: 3
Joined: Mon Jun 23, 2025 12:00 am

Mapping Axis rotation + translation to CLIP Studio Paint canvas navigation

Post by bvk »

Hello, I am trying to customise my cfg for Clip Studio Paint (CSP) to use SpaceMouse Pro controller cap to handle canvas panning and rotation. I've looked through the forum to try assigning inputs to axis rotations and translations, as well as using modifier keys, however, I'm stuck on how to make this work for CSP, as the keyboard inputs for panning are Spacebar + up/down/left/right arrow keys. I'm not sure how to go about making this work (from what I've read, it doesn't sound like spacebar key is recognised as a modifier in the cfg xml, only Control, Shift, Alt, Windows, LeftMouse, MiddleMouse, and RightMouse - is this correct?) plus I am not sure what key value is written for the arrow keys. I am currently referring to axes in relation to Y-up coordinates, as shown in the image below, but if the SpaceMouse Pro axis layout is different please let me know.

I am trying to map the axis controls to the following CSP bindings:

CSP pan canvas left = hold 'spacebar' + 'left arrow' -- Map to: push controller left (translate -x?)
CSP pan canvas right = hold 'spacebar' + 'right arrow' -- Map to: push controller right (translate x?)
CSP pan canvas up = hold 'spacebar' + 'up arrow' -- Map to: push controller away (translate -z?)
CSP pan canvas down = hold 'spacebar' + 'down arrow' -- Map to: pull controller toward (translate z?)
CSP rotate canvas counterclockwise = hold '-' -- Map to: twist counterclockwise (rotate -y?)
CSP rotate canvas clockwise = hold '=' -- Map to: twist clockwise (rotate y?)

Ideally, it would be awesome if the further/less the controller cap is physically moved, the faster/slower the canvas pans. I saw a thread that mentioned something similar for changing brush sizes in Photoshop (using motion maps?) with a scale factor, but my first priority is to try and get the pan working at all and then see how fast it moves.

Any assistance would be greatly appreciated, thank you!

Image
JonnySpaceman
Posts: 2
Joined: Sat Nov 16, 2024 5:59 am

Re: Mapping Axis rotation + translation to CLIP Studio Paint canvas navigation

Post by JonnySpaceman »

I use a space mouse for CAD, solidWorks however I'd like to set it up to work with Clip Studio Paint and Sketchbook Pro, it would be super useful using it to Pan, Rotate and Zoom the canvas when used in conjunction with a tablet.
I'm sure there's a market in the digital art world to be tapped into for 3dConnexion, which so far they haven't realised.
AmroSalih
Moderator
Moderator
Posts: 306
Joined: Thu Sep 29, 2022 4:39 am
Contact:

Re: Mapping Axis rotation + translation to CLIP Studio Paint canvas navigation

Post by AmroSalih »

Have you contacted the customer services of Clip Studio Paint and Sketchbook Pro?

You are welcome to let us know in this form - https://forms.office.com/pages/response ... e=shorturl which applications do not yet support 3Dconnexion devices. This allows us to also share the collected feedback with the application developer and raise priority.
bvk
Posts: 3
Joined: Mon Jun 23, 2025 12:00 am

Re: Mapping Axis rotation + translation to CLIP Studio Paint canvas navigation

Post by bvk »

AmroSalih wrote: Mon Aug 18, 2025 5:02 am Have you contacted the customer services of Clip Studio Paint and Sketchbook Pro?

You are welcome to let us know in this form - https://forms.office.com/pages/response ... e=shorturl which applications do not yet support 3Dconnexion devices. This allows us to also share the collected feedback with the application developer and raise priority.
Hi, sorry, the link says this form does not exist?

No, I haven't contacted Clip Studio - they have their own official hand held macro/navigation remote. I bought the SpaceMouse Pro under the assumption I would be able to map the controller cap axes to CSP.

Essentially I was (or am, if anyone can assist) trying to get the controller to navigate the same way it does in PureRef, just with added canvas rotation.
jwick
Moderator
Moderator
Posts: 3455
Joined: Wed Dec 20, 2006 2:25 pm
Location: USA
Contact:

Re: Mapping Axis rotation + translation to CLIP Studio Paint canvas navigation

Post by jwick »

bvk,

You would need to do this emulation with code.
I don't support Spacebar as a modifier on Axes. I like the idea though.
bvk
Posts: 3
Joined: Mon Jun 23, 2025 12:00 am

Re: Mapping Axis rotation + translation to CLIP Studio Paint canvas navigation

Post by bvk »

jwick wrote: Wed Aug 27, 2025 4:26 am bvk,

You would need to do this emulation with code.
I don't support Spacebar as a modifier on Axes. I like the idea though.
Hi jwick, thanks for your reply.

1: When you say I need to do this emulation with code, do you mean in the CLIPStudioPaint-KMJ xml file, or as in via a third-party keyboard emulator like JoyToKey?

2: Is adding Spacebar as a Axis modifier something I can do from my end based on the code for the supported modifiers, or is that only accessible on the dev side?

3: Lastly, is there a document somewhere that lists all the IDs for every keystroke key? I read through the Keyboard template, but it looks like an example of how to structure the cfg xml file, not a document containing all the key IDs (eg Spacebar = KB_Space). I am specifically looking for the up, down, left and right arrow keys. Hope that makes sense.

Cheers,
bvk
jwick
Moderator
Moderator
Posts: 3455
Joined: Wed Dec 20, 2006 2:25 pm
Location: USA
Contact:

Re: Mapping Axis rotation + translation to CLIP Studio Paint canvas navigation

Post by jwick »

I was thinking of C/C++/VB/etc. The driver can call your random code to process events.
But your suggestion of using one of the third party emulator products is way better. Some of those are very extensive--way more functionality than we could justify creating.

The process is probably different for the different emulators. In general, you want to tell our driver to either get out of the way, or to have it send some sort of consistent event to the emulator (e.g., a joystick event). All the sophisticated processing of those events happens in the emulator.

The keyboard codes recorded in the XML are HID usage codes. You can find them in the HID usage tables online. I think it is easier to just record a keyboard macro and see what the UI wrote out in the XML files. They are specific to the locale mapping of your kb/OS.
If you record them for a button macro, it's the same value for an axis macro.
Post Reply