Documentation / <RepeatStyle> for HIDMouse_Left

Questions and answers about 3Dconnexion devices on Windows.

Moderator: Moderators

Post Reply
veit0r
Posts: 1
Joined: Tue Sep 17, 2024 5:19 am

Documentation / <RepeatStyle> for HIDMouse_Left

Post by veit0r »

Hi,
I bought the bluetooth sm. I try to configure it to work with a beta version of a 3d audio prediction software.
I already found out that there was a nice gui for that in the past but it seeems discontinued.
I also was able to make some first steps in writing a custom XML for that application.
I was not able to find a documentation for the XML files. What Inputs/Outputs are supported? Where can I find infos on the possibilities? There has to be a document im missing.
I try to work it out axis by axis now.
Movement in the application is done my mousemovement while keeping left, right mouse button or [alt] clicked. So pretty classical IMHO.
However I cant get the left mouse button be kept pressed during movement. I think

Code: Select all

<RepeatStyle>PressAndHold</RepeatStyle>
is for keyboard presses and does not work with the mouse.
How can I achieve that?
6 Axis = 2 axis (mouse) * 3 modifiers seems to work out :D

Code: Select all

<?xml version="1.0" encoding="utf-8" standalone="no"?>
<AppCfg xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Default="false" CfgFormatVersion="1.3" ThisFileVersion="2.0">
  <AppInfo>
    <Signature>
      <Name>RDShape</Name>
      <ExecutableName>RDShape.exe</ExecutableName>
    </Signature>
    <Options />
  </AppInfo>
  <CfgProperties>
    <ID>ID_RDShape</ID>
    <Name>RDShape</Name>
    <InheritsFromID>ID_Default_KMJ_Cfg</InheritsFromID>
  </CfgProperties>
  <Settings>
    <OverallScale>1.0</OverallScale>
  </Settings>
  <Devices>
    <Device>
      <ID>ID_ProductID_C63A</ID>
	  <AxisBank Default="true">
	  <!--List of axis:
	  Input...
	  HIDMultiAxis_X
	  HIDMultiAxis_Y
	  HIDMultiAxis_Z
	  HIDMultiAxis_Rx
	  HIDMultiAxis_Ry
	  HIDMultiAxis_Rz
	  Output...
	  HIDMouse_X
	  HIDMouse_Y
	  HIDMouse_Left
	  HIDMouse_Right
	  HIDMouse_Wheel
	  -->
	  
        <Axis>
          <Enabled>true</Enabled>
          <Input>
            <ActionID>HIDMultiAxis_X</ActionID>
            <!-- Moving horizontally -->
            <Min>-512</Min>
            <Max>511</Max>
          </Input>
          <Output>
            <ActionID>HIDMouse_X</ActionID>
            <!-- Moves cursor -->
			<RepeatStyle>PressAndHold</RepeatStyle>
            <Modifiers>
              <Modifier>HIDMouse_Left</Modifier>
              <!-- Constantly presses left mouse button -->
            </Modifiers>
          </Output>
        </Axis>
      </AxisBank>
    </Device>
  </Devices>
  <AuthorInfo>
    <DriverVersion>17.9.0.21038</DriverVersion>
    <LastChange>
      <Tool>3DxSmartUI.exe</Tool>
      <Version>1.2.24207.21031</Version>
      <Date>9/17/2024 11:32:55 AM UTC</Date>
      <User>3B6362E0-E61C-4C5B-A184-30A10104A4A8</User>
    </LastChange>
  </AuthorInfo>
</AppCfg>
jwick
Moderator
Moderator
Posts: 3456
Joined: Wed Dec 20, 2006 2:25 pm
Location: USA
Contact:

Re: Documentation / <RepeatStyle> for HIDMouse_Left

Post by jwick »

There isn't any official external doc. I never meant for you to edit XML. The (discontinued) GUI was meant to do all that for you.

There are some details here.

You are very close.
The modifier is LeftMouse, not HIDMouse_Left.

Code: Select all

        <Axis>
          <Enabled>true</Enabled>
          <Input>
            <ActionID>HIDMultiAxis_X</ActionID>
            <Min>-512</Min>
            <Max>511</Max>
          </Input>
          <Output>
            <ActionID>HIDMouse_X</ActionID>
            <Modifiers>
              <Modifier>LeftMouse</Modifier>
            </Modifiers>
          </Output>
        </Axis>
RepeatStyle is only for Keyboard emulation.
Post Reply