galister / wlx-overlay-x

WlxOverlay for OpenXR, written in Rust.
GNU General Public License v3.0
17 stars 1 forks source link

Oversensitive grabbing #3

Open icedream opened 1 year ago

icedream commented 1 year ago

On my Valve Index setup with Index Controllers, wlx-overlay-x will be overeager at detecting that I grabbed the controller and translate it as window/screen grabbing.

Hardware:

galister commented 1 year ago

Hi, try adjust the numbers here until it feels correct:

https://github.com/galister/wlx-overlay-x/blob/dace93eca983c5eb34b457fd2d0763c5110c602a/src/interactions.rs#L140

the first number (0.5) is the release threshold, the 2nd (0.6) is the press threshold. just be sure to keep the 2nd higher than the first.

Edit: you probably want to increase them