Log in or register to post comments

ODG R6 and Unity

September 28, 2015 - 8:04am #1

Hey all,

I was wondering if anyone else is working with the R-6 in Unity, as I've been attempting to get a project working with it and have found the mouse pointer on the R-6 to not trigger raycasts - Input.mousePresent will register as true, but clicks will not register for an unknown reason, or the raycast being projected from a mouse click will not be casted correctly, has anyone else encountered this problem and/or got a solution for it?

 

 

ODG R6 and Unity

September 30, 2015 - 3:07am #2

Hi,

I've been working on it too and met the same problem.
But after some research I found that being in Selector or Cursor mode doesn't change the event sent by the "click", wich is in Unity a "KeyCode.JoystickButton0".
So you've got to forget all the "OnClick", "OnMouseDown|Up" methods and implement your own.

For information the others input events are:
    -(in cursor mode) Slide left <=> KeyCode.LeftArrow
    -(in cursor mode) Slide right <=> KeyCode.RightArrow
    -(in cursor mode) Slide up <=> KeyCode.UpArrow
    -(in cursor mode) Slide down <=> KeyCode.DownArrow
    -Back button <=> KeyCode.Escape

Hope it helps.

Log in or register to post comments