bongocat-osu
bongocat-osu copied to clipboard
mouse teleports to edge while in game
https://imgur.com/kQPEaSd
I'm sure it has something to do with sensetivity bcs when I changed sensetivity to 1 it worked fine but I'm playing with 2.33
Can you try out the solution posted in the comment of this issue #33 ?
sadly it didn't help, I also tested without the 2nd monitor and same problem, I have the problem only when I'm in game and when I have 1 sensetivity it works fine. I think it has something to do with sensetivity and I do not understand much in programming and didn't check the code but maybe it's checking position of the cursor only in desktop and that's why it works fine with 1 sensetivity, bsc with 1 sensetivity the cursor is in the same like it would be in the desktop.
Interesting. Do you use raw input of any sort in the game's settings?
yes
I tested this with osu! wine. Just like you said, the desktop cursor and osu! cursor moving in different speed. The mouse teleport is actually osu! try to snap desktop cursor when osu! cursor reach the desktop bound (top, left, bottom, right edge) to prevent further out of sync with desktop cursor I guess?
This is kinda problematic because to fix this we have to account for the osu! sensitivity and translate bongocat cursor by its move delta. move_delta = osu_sensitivity * (desktop_current_cursor_pos - desktop_previous_cursor_pos)
And we have to test for any edge case of osu! moving desktop cursor around (like this), failing to do this will result in out of sync with osu! cursor and lead to another problematic bug.
Hi there ! I have the same problem, when the sensetivity is 1 the bongo cat work normally but the more you increase the sensitivity value (mine is x2,71) the more the bongo cat's right hand will start to move less, which is a good thing but the cursor will end up teleporting either left, right, up or down and the surface that I use on my tablet will no longer corresponds to the surface of the tablet of the bongo cat. Example: i'm playing osu, i finish the map with my hand in the middle of my tablet but the bongo cat right hand (pen one) is top right. So yeah it's a sensetivity thing in osu! :/ can you help me out pweez ??