Virtual mouse device taking higher priority over physical mouse device?

The specific problem area: EventData.pointerID returns the virtual mouse ID as the clicker when it was my physical mouse that was clicked physically IRL.

Problem: Virtual Cursors are taking input priority over the real hardware mouse, unable to detect mouse clicks from physical mouse device while Virtual mice exist. Use case requires both active at the same time.

My application is client server networked with multiple virtual mice run by clients sending inputs to the server, while the server is also playing with their own actual mouse.

Pictured in the attached gif:

New Input Asset state:
No set control scheme - all inputs work as expected, except that virtual takes higher prio over real mouse inputs. If a virtual mouse exists, all real mouse inputs read as being sent from the virtual mouse device.

Control Scheme that only takes in Mouse and Keyboard - virtual inputs no longer processed. Virtual mice do not function.

Control Scheme that only takes in Mouse and Keyboard and Virtual mouse - same issue as no set scheme - virtual once again overpowers real mouse.

How can I prevent my real clicks as being read as being from the virtual mice, without disabling the virtual mice from being able to interact with anything?

9738328--1392955--virtual overpower.gif

1 Like
  • I cant access ANYTHING from the real mouse when the virtual mouse exists
  • and I cannot make the input manager use both
  • and I cannot make the input manager only use the real mouse while ALSO using the virtual mouse for other stuff
  • delta is 0 because the virtual mouse didnt move and it didnt move because the code to make it move is dependent on reading the movements of the actual mouse and I cant read the movements of the actual mouse because the input system cannot SEE the real mouse if a virtual mouse exists :confused:
1 Like

Signed up for an account when this was the only Google result just to say the same. The moment I disable my Virtual Mouse object, I’m able to use all my mouse inputs. The moment the Virtual Mouse is enabled, I love my physical mouse inputs.
I noticed that the BindingProperties in my InputActions shows that ā€œDerived Bindingsā€ but making modifications to the virtual mouse right click when I want to use my real mouse right click did nothing.