Help: configuring shortcuts to rotation axes (Photoshop)

Questions and answers about 3Dconnexion devices on Windows.

Moderator: Moderators

Post Reply
Intuos
Posts: 34
Joined: Tue Jun 19, 2018 8:01 am

Help: configuring shortcuts to rotation axes (Photoshop)

Post by Intuos »

Today, I finally decided to bite the bullet and configure an XML for Photoshop (CC 2018).
What I try to achieve is using the movements along an axis for zooming/ panning and customise rotation to an hotkey, which I think may also be of use or others.

I've tried the following:
Rotation around the X-axis Rx: depending on the direction either Ctrl + [ or Ctrl + ] (scroll through layers)
Rotation around the Z-axis Rx: depending on the direction either [ or ] (resize brush)
Furthermore, I tried using dominant axis in conjunction with adding a deadzone for the navigational axes, since those are more easily activated.
Either way, none of the above take place, however, I did notice some cursor change indicating that it hit one of these hotkeys while panning/ zooming during tests.

Here's the code:

Code: Select all

   <Device>
      <ID>ID_Standard_3D_Mouse</ID>
      <AxisFilter>Dominant</AxisFilter>
      <AxisBank>
        <Name>Default</Name>
        <ID>Default</ID>
        <Axis>
          <Enabled>true</Enabled>
          <Input>
            <ActionID>HIDMultiAxis_X</ActionID>
            <Min>-512</Min>
            <Max>511</Max>
			<Deadband>100</Deadband>
          </Input>
          <Output>
            <ActionID>HIDMultiAxis_X</ActionID>
            <Reversed>false</Reversed>
          </Output>
        </Axis>
        <Axis>
          <Enabled>true</Enabled>
          <Input>
            <ActionID>HIDMultiAxis_Y</ActionID>
            <Min>-512</Min>
            <Max>511</Max>
			<Deadband>100</Deadband>
          </Input>
          <Output>
            <ActionID>HIDMultiAxis_Y</ActionID>
            <Reversed>false</Reversed>
          </Output>
        </Axis>
        <Axis>
          <Enabled>true</Enabled>
          <Input>
            <ActionID>HIDMultiAxis_Z</ActionID>
            <Min>-512</Min>
            <Max>511</Max>
			<Deadband>100</Deadband>
          </Input>
          <Output>
            <ActionID>HIDMultiAxis_Z</ActionID>
            <Reversed>false</Reversed>
          </Output>
        </Axis>
        <Axis>
          <Enabled>true</Enabled>
          <Input>
            <ActionID>HIDMultiAxis_Rx</ActionID>
            <Min>-512</Min>
            <Max>0</Max>
			<Deadband>100</Deadband>
          </Input>
          <Output>
            <ActionID>KB_Keystroke</ActionID>
            <Scale>1.00</Scale>
            <MaxEventRate>0.10</MaxEventRate>
			<Modifiers>
              <Modifier>Control</Modifier>
            </Modifiers>
			<KeyStroke>
              <Key>2F</Key>
            </KeyStroke>
          </Output>
        </Axis>
		 <Axis>
          <Enabled>true</Enabled>
          <Input>
            <ActionID>HIDMultiAxis_Rx</ActionID>
            <Min>0</Min>
            <Max>511</Max>
			<Deadband>100</Deadband>
          </Input>
          <Output>
            <ActionID>KB_Keystroke</ActionID>
            <Scale>1.00</Scale>
            <MaxEventRate>0.10</MaxEventRate>
			<Modifiers>
              <Modifier>Control</Modifier>
            </Modifiers>
			<KeyStroke>
              <Key>30</Key>
            </KeyStroke>
          </Output>
        </Axis>
        <Axis>
          <Enabled>true</Enabled>
          <Input>
		   <ActionID>HIDMultiAxis_Ry</ActionID>
            <Min>-512</Min>
            <Max>511</Max>
          </Input>
          <Output>
		   <ActionID>HIDMultiAxis_Ry</ActionID>
          </Output>
        </Axis>
        <Axis>
          <Enabled>true</Enabled>
          <Input>
            <ActionID>HIDMultiAxis_Rz</ActionID>
            <Min>-512</Min>
            <Max>0</Max>
			<Deadband>100</Deadband>
          </Input>
          <Output>
            <ActionID>KB_Keystroke</ActionID>
            <Scale>1.00</Scale>
            <MaxEventRate>0.10</MaxEventRate>
            <KeyStroke>
              <Key>2F</Key>
            </KeyStroke>
          </Output>
        </Axis>
		<Axis>
          <Enabled>true</Enabled>
          <Input>
            <ActionID>HIDMultiAxis_Rz</ActionID>
            <Min>0</Min>
            <Max>511</Max>
			<Deadband>100</Deadband>
          </Input>
          <Output>
            <ActionID>KB_Keystroke</ActionID>
            <Scale>1.00</Scale>
			<MaxEventRate>0.10</MaxEventRate>
            <KeyStroke>
              <Key>30</Key>
            </KeyStroke>
          </Output>
        </Axis>
	</AxisBank>
    </Device>
  </Devices>
Post Reply