diff options
author | Allan Sandfeld Jensen <allan.jensen@digia.com> | 2014-04-11 13:45:47 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-06-12 14:35:23 +0200 |
commit | da5dea807f497bc6004f40e966e5d882a2ba72b0 (patch) | |
tree | a467091f260e2f9b6a3a38b421442f61e5f8c0b0 /src/corelib/io/qprocess_win.cpp | |
parent | 02b7b21f9bafcba3231610fef31b590474567472 (diff) |
Support hotplugging of input devices with XInput2
Since we only scan for XInput2 devices on application start, we will
currently miss any devices plugged in while the application is running.
This patch makes QXcbConnection listen for XInput2 hierachyChanged
events and use them to trigger a rescan of XInput2 devices.
This fixes a regression in Qt 5.3, where the scroll wheel on hot-
plugged mice does not work until the Qt application is restarted.
Change-Id: I2cdc7ca24d3ab00716cedc4b22355b6e4935b184
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
Diffstat (limited to 'src/corelib/io/qprocess_win.cpp')
0 files changed, 0 insertions, 0 deletions