Mouse jitter

Need help? Ask here and someone will help
User5001
Posts: 14
Joined: Sun Apr 09, 2017 11:34 pm

Mouse jitter

Post by User5001 »

Im using a Arduino Micro ATmega32u4 with a DIY USB adapter
on a Raspberry Pi3 with Raspbian Jessie
GIMX 6.5
Mouse Logitech 502

Everything works except for the mouse movement.

In GIMX (curses) my right stick movement starts to jitter as soosn as i move my mouse.
Tried diffrent DPI settings, changed the mouse polling rate from default to 250 and 500hz
Tested everything on my windows laptop with the same results.
Even with a diffrent mouse. It always starts to jitter when i touch my mouse.

I hope there is a solution for my problem...
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Mouse jitter

Post by Matlo »

GIMX creator
User5001
Posts: 14
Joined: Sun Apr 09, 2017 11:34 pm

Re: Mouse jitter

Post by User5001 »

That was my first step after testing everything.
I also used a config (black ops 3/PS4) with the
same mouse model as i have.

When i switch from “aiming“ to “driving“ the gitter seems
to be minimal. GIMX also shows me full range of motion
In that box where u can see the movement of the mouse.

In “aiming“ mode there is only half of the range and it
starts to jitter.
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Mouse jitter

Post by Matlo »

You should keep using the aiming mode if you play FPS games.
What you see in the curses view is probably normal as the translation compensates the dead zone.
Does movement "jitter" in the game?
GIMX creator
User5001
Posts: 14
Joined: Sun Apr 09, 2017 11:34 pm

Re: Mouse jitter

Post by User5001 »

Im only trying to test everything to find the problem.
Of course im using aiming mode to play fps games.

Its also noticeable ingame. When aiming in ADS and moving the mouse slowly from left to right in a straight line it starts to jump.

Is it possible that the DIY usb adapter is producing such
symptomes?

https://www.conrad.de/de/conrad-compone ... store=2030

Under “Dokumente & Downloads“ there is more info about
the converter
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Mouse jitter

Post by Matlo »

What you see in the curses view is hard (not to say impossible) to correlate to movement issues.

Did you calibrate the ADS profile? This is the second profile, it gets activated when you press the right mouse button.
GIMX creator
User5001
Posts: 14
Joined: Sun Apr 09, 2017 11:34 pm

Re: Mouse jitter

Post by User5001 »

Sure i calibrated both profiles.
The jumping is also when in normal aiming.
But its not that noticeable because you move the
mouse in bigger steps.

GIMX is only operating in 100hz is that normal?
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Mouse jitter

Post by Matlo »

Post your configuration, I'll have a look.
GIMX creator
User5001
Posts: 14
Joined: Sun Apr 09, 2017 11:34 pm

Re: Mouse jitter

Post by User5001 »

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<root>
  <controller id="1" dpi="1200" type="DS4">
    <configuration id="1">
      <trigger type="" id="" name="" button_id="" switch_back="no" delay="0"/>
      <mouse_options_list>
        <mouse name="" id="0" mode="Aiming" buffer_size="1" filter="0.00"/>
      </mouse_options_list>
      <intensity_list/>
      <button_map>
        <button id="abs_axis_17" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="TAB"/>
        </button>
        <button id="abs_axis_16" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="CAPSLOCK"/>
        </button>
        <button id="abs_axis_15" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="LSHIFT"/>
        </button>
        <button id="abs_axis_14" label="">
          <device type="mouse" id="0" name=""/>
          <event type="button" id="BUTTON_LEFT"/>
        </button>
        <button id="abs_axis_13" label="">
          <device type="mouse" id="0" name=""/>
          <event type="button" id="BUTTON_RIGHT"/>
        </button>
        <button id="abs_axis_12" label="">
          <device type="mouse" id="0" name=""/>
          <event type="button" id="BUTTON_X4"/>
        </button>
        <button id="abs_axis_11" label="">
          <device type="mouse" id="0" name=""/>
          <event type="button" id="BUTTON_X3"/>
        </button>
        <button id="abs_axis_10" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="r"/>
        </button>
        <button id="abs_axis_9" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="SPACE"/>
        </button>
        <button id="abs_axis_8" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="q"/>
        </button>
        <button id="abs_axis_7" label="">
          <device type="mouse" id="0" name=""/>
          <event type="button" id="BUTTON_MIDDLE"/>
        </button>
        <button id="abs_axis_6" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="3"/>
        </button>
        <button id="abs_axis_5" label="">
          <device type="mouse" id="0" name=""/>
          <event type="button" id="BUTTON_WHEELDOWN"/>
        </button>
        <button id="abs_axis_4" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="4"/>
        </button>
        <button id="abs_axis_3" label="">
          <device type="mouse" id="0" name=""/>
          <event type="button" id="BUTTON_WHEELUP"/>
        </button>
        <button id="abs_axis_2" label="PS">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="ESCAPE"/>
        </button>
        <button id="abs_axis_1" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="RETURN"/>
        </button>
        <button id="abs_axis_0" label="Share">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="BACKSPACE"/>
        </button>
      </button_map>
      <axis_map>
        <axis id="rel_axis_3" label="Aiming - y axis">
          <device type="mouse" id="0" name=""/>
          <event type="axis" id="y" dead_zone="19" multiplier="7.95" exponent="0.33" shape=""/>
        </axis>
        <axis id="rel_axis_2" label="Aiming - x axis">
          <device type="mouse" id="0" name=""/>
          <event type="axis" id="x" dead_zone="19" multiplier="5.93" exponent="0.33" shape=""/>
        </axis>
        <axis id="rel_axis_0-" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="a"/>
        </axis>
        <axis id="rel_axis_1+" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="s"/>
        </axis>
        <axis id="rel_axis_0+" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="d"/>
        </axis>
        <axis id="rel_axis_1-" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="w"/>
        </axis>
      </axis_map>
      <joystick_corrections_list/>
    </configuration>
    <configuration id="2">
      <trigger type="mouse" id="0" name="" button_id="BUTTON_RIGHT" switch_back="yes" delay="180"/>
      <mouse_options_list>
        <mouse name="" id="0" mode="Aiming" buffer_size="1" filter="0.00"/>
      </mouse_options_list>
      <intensity_list/>
      <button_map>
        <button id="abs_axis_0" label="Share">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="BACKSPACE"/>
        </button>
        <button id="abs_axis_16" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="CAPSLOCK"/>
        </button>
        <button id="abs_axis_15" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="LSHIFT"/>
        </button>
        <button id="abs_axis_14" label="">
          <device type="mouse" id="0" name=""/>
          <event type="button" id="BUTTON_LEFT"/>
        </button>
        <button id="abs_axis_13" label="">
          <device type="mouse" id="0" name=""/>
          <event type="button" id="BUTTON_RIGHT"/>
        </button>
        <button id="abs_axis_12" label="">
          <device type="mouse" id="0" name=""/>
          <event type="button" id="BUTTON_X4"/>
        </button>
        <button id="abs_axis_11" label="">
          <device type="mouse" id="0" name=""/>
          <event type="button" id="BUTTON_X3"/>
        </button>
        <button id="abs_axis_10" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="r"/>
        </button>
        <button id="abs_axis_9" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="SPACE"/>
        </button>
        <button id="abs_axis_8" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="q"/>
        </button>
        <button id="abs_axis_7" label="">
          <device type="mouse" id="0" name=""/>
          <event type="button" id="BUTTON_MIDDLE"/>
        </button>
        <button id="abs_axis_6" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="3"/>
        </button>
        <button id="abs_axis_5" label="">
          <device type="mouse" id="0" name=""/>
          <event type="button" id="BUTTON_WHEELDOWN"/>
        </button>
        <button id="abs_axis_4" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="4"/>
        </button>
        <button id="abs_axis_3" label="">
          <device type="mouse" id="0" name=""/>
          <event type="button" id="BUTTON_WHEELUP"/>
        </button>
        <button id="abs_axis_2" label="PS">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="ESCAPE"/>
        </button>
        <button id="abs_axis_1" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="RETURN"/>
        </button>
      </button_map>
      <axis_map>
        <axis id="rel_axis_3" label="Aiming - y axis">
          <device type="mouse" id="0" name=""/>
          <event type="axis" id="y" dead_zone="19" multiplier="11.12" exponent="0.33" shape=""/>
        </axis>
        <axis id="rel_axis_2" label="Aiming - x axis">
          <device type="mouse" id="0" name=""/>
          <event type="axis" id="x" dead_zone="19" multiplier="8.30" exponent="0.33" shape=""/>
        </axis>
        <axis id="rel_axis_0-" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="a"/>
        </axis>
        <axis id="rel_axis_1+" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="s"/>
        </axis>
        <axis id="rel_axis_0+" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="d"/>
        </axis>
        <axis id="rel_axis_1-" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="w"/>
        </axis>
      </axis_map>
      <joystick_corrections_list/>
    </configuration>
  </controller>
</root>
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Mouse jitter

Post by Matlo »

There's a bug with the DPI value (1200 instead of 12000).
https://github.com/matlo/GIMX/issues/451

You can manually set it to 12000. and make sure your mouse is set to 12000 DPI.
After this my advice is to perform the calibration again and see if it helps.
GIMX creator
Post Reply