Re: Programs unable to tell where center of screen is when snapping mouse pointer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



SOLVED! Yesterday it got extremely nasty, the Call of Duty games in particular are
unplayable due to this issue. Tried switching back to Plasma 5, same issue,
tried rearranging and removing monitors, still broken. Then I had a thought.

Okay, so if it happens on Plasma, it's not a Trinity issue, it's an X issue.
But it started when I began using Trinity. What did I change first thing when
I used trinity? I edited the mouse sensitivity of the X server with:

xinput set-prop 'SteelSeries SteelSeries Rival 3' 'Coordinate Transformation
Matrix' 0.43 0 0 0 0.43 0 0 0 1

Because Trinity does not have a sensitivty option like Plasma, only
acceleration.

Set that back to default and the issue completely went away.

I'm sure there's some other setting to change in combination with this one to
ensure X doesn't snap the cursor too far away, but in the mean time, I have a
workaround now for games. I didn't experience this on Plasma before this year
because Plasma has it's own way of handling cursor sensitivity. So I guess
that's an excuse to backport the feature to TDE.

-- bonkmaykr.xyz
Proud webmaster of KangWorlds.

Sent with Proton Mail secure email.

On Friday, May 3rd, 2024 at 9:42 AM, bonkmaykr via tde-users <users@xxxxxxxxxxxxxxxxxx> wrote:
Hello. I have a pretty serious issue where many applications cannot properly move the cursor to the center of the screen. For normal desktop use this rarely comes up, but I play a lot of video games on my computer (mostly first person) and for mouse input this becomes an inconvenience at best and gamebreaking at worst.

Some examples, results vary:
CS2: usually no issues. Running natively
The Finals: cursor constantly snaps to top left corner when comms wheel is pulled up, can't use pings correctly. Cursor rarely leaves the screen and enters the second screen on the left causing loss of focus.
Minecraft: cursor snaps to the left when opening any menu, even when running using a native JVM

In some particularly nasty cases, this can affect camera controls on some desktop applications like Blender and cause erratic movement. Which slows down my workflow quite a bit.

It seems like what's happening is that the X11 server has one display spanning across both my monitors and since I have a second monitor on the left the center of the X11 canvas is between the two displays. For other desktop environments this hasn't been an issue but in Trinity I find that this causes some weird sideeffects, like how desktop icons are out-of-bounds by default or how X11 thinks my refresh rate is set to 50hz even though it clearly isn't.

What's the quickest workaround to this mouse input issue? Is there any? How do I tell an application/game that the center of my monitor is actually the center of my monitor and not whatever x11 says it is? If that makes any sense.

Forgive me if this is a silly question.



-- bonkmaykr.xyz
Proud webmaster of KangWorlds.



Sent from Proton Mail mobile



Attachment: publickey - bonkmaykr@screwgravity.net - 0xA56FE96D.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature

____________________________________________________
tde-users mailing list -- users@xxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxx
Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@xxxxxxxxxxxxxxxxxx

[Index of Archives]     [Trinity Devel]     [KDE]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]     [Trinity Desktop Environment]

  Powered by Linux