Git Product home page Git Product logo

Comments (6)

CSaratakij avatar CSaratakij commented on September 4, 2024 1

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.

from bongocat-osu.

kuroni avatar kuroni commented on September 4, 2024

Can you try out the solution posted in the comment of this issue #33 ?

from bongocat-osu.

Fuun4IL avatar Fuun4IL commented on September 4, 2024

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.

from bongocat-osu.

kuroni avatar kuroni commented on September 4, 2024

Interesting. Do you use raw input of any sort in the game's settings?

from bongocat-osu.

Fuun4IL avatar Fuun4IL commented on September 4, 2024

yes

from bongocat-osu.

Wanjaaaaa avatar Wanjaaaaa commented on September 4, 2024

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 ??

from bongocat-osu.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.