Home Forums Unity SDK Mouse movement with Unity Input system

This topic contains 1 reply, has 2 voices, and was last updated by  Alex [Tobii] 2 weeks, 1 day ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #9226

    Nick
    Participant

    I’m using the Tobii eyeX tracker, and my game predominantly uses Unity’s Input system to get mouse movement from the user, i.e.:
    float rawx = Input.GetAxis("mouse x");

    I’ve noticed that while using the tracker, the value of rawx doesn’t change. However, Input.mousePosition correctly updates following my gaze. It would be much simpler for me to get the GetAxis() calls working, rather than tracking differences in Input.mousePosition every frame, across every component that requires it. Is there a configuration I can change to make this work?

    #9236

    Alex [Tobii]
    Keymaster

    Hi @nickfourtimes !

    You can use Tobii Unity SDK instead of doing mouse emulation.

    https://developer.tobii.com/consumer-eye-trackers/unity-sdk/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.