There are two mouse in system, when QMouseEvent occur, how to identify this event come from which mouse?![]()
There are two mouse in system, when QMouseEvent occur, how to identify this event come from which mouse?![]()
There might be a way - but that is system specific - you should look what functions (if at all) are available on the window manager or probably even lower level to get the hardware id of the device causing the event.
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
Bookmarks