Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Mouse movement not accepted outside unity window?

Discussion in 'Linux' started by JollyRoger, Jun 20, 2019.

  1. JollyRoger

    JollyRoger

    Joined:
    Aug 9, 2013
    Posts:
    1
    Greetings,
    Having an issue with the mouse going out of focus of linux builds and within the editor, while rotating the character. On my macbook, if the mouse goes outside of the play window, I can continue to rotate freely. On Linux Mint 19.1, once the mouse hits the edge of the play window, rotation stops until the mouse moves back again. Is this a known linux issue? Any work arounds? I haven't found any way of detecting mouse acceleration without using Input.GetAxis("Mouse Axis") which seems to be the cause, once mouse x/y go beyond the bounds, it stops detecting changes.
     
    takizee53 likes this.
  2. takizee53

    takizee53

    Joined:
    Jun 7, 2020
    Posts:
    1
    i'm having the same problem on Ubuntu 18.04 , and didn't find the solution yet