PDA

View Full Version : identify the sender when mouse event occur



ponponfish
20th April 2011, 06:41
There are two mouse in system, when QMouseEvent occur, how to identify this event come from which mouse?:)

high_flyer
20th April 2011, 09:38
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.