Skip to content

Instantly share code, notes, and snippets.

@psychon
Created November 29, 2015 16:40
Show Gist options
  • Save psychon/910518fc62dfe23d5aa2 to your computer and use it in GitHub Desktop.
Save psychon/910518fc62dfe23d5aa2 to your computer and use it in GitHub Desktop.
# In the following, I started the program, unplugged my USB mouse and re-plugged it.
# The empty lines are from me, I pressed enter after unplugging and after replugging the mouse.
$ QT_LOGGING_RULES="qt.qpa.input*=true" ./analogclock
qt.qpa.input.devices: XInput version 2.2 is available and Qt supports 2.2 or greater
qt.qpa.input.devices: input device Virtual core XTEST pointer
qt.qpa.input.devices: has 10 buttons
qt.qpa.input.devices: has valuator "Rel X" recognized? true
qt.qpa.input.devices: has valuator "Rel Y" recognized? true
qt.qpa.input.devices: it's a scrolling device
qt.qpa.input.devices: input device SynPS/2 Synaptics TouchPad
qt.qpa.input.devices: has 12 buttons
qt.qpa.input.devices: has valuator "Rel X" recognized? true
qt.qpa.input.devices: has valuator "Rel Y" recognized? true
qt.qpa.input.devices: has valuator "Rel Horiz Scroll" recognized? true
qt.qpa.input.devices: has valuator "Rel Vert Scroll" recognized? true
qt.qpa.input.devices: it's a scrolling device
qt.qpa.input.devices: input device Logitech USB-PS/2 Optical Mouse
qt.qpa.input.devices: has 7 buttons
qt.qpa.input.devices: has valuator "Rel X" recognized? true
qt.qpa.input.devices: has valuator "Rel Y" recognized? true
qt.qpa.input.devices: has valuator "Rel Vert Wheel" recognized? true
qt.qpa.input.devices: it's a scrolling device
qt.qpa.input: XInput 2.2: Selecting press/release/motion events in addition to touch
qt.qpa.input.devices: input device Virtual core XTEST pointer
qt.qpa.input.devices: has 10 buttons
qt.qpa.input.devices: has valuator "Rel X" recognized? true
qt.qpa.input.devices: has valuator "Rel Y" recognized? true
qt.qpa.input.devices: it's a scrolling device
qt.qpa.input.devices: input device SynPS/2 Synaptics TouchPad
qt.qpa.input.devices: has 12 buttons
qt.qpa.input.devices: has valuator "Rel X" recognized? true
qt.qpa.input.devices: has valuator "Rel Y" recognized? true
qt.qpa.input.devices: has valuator "Rel Horiz Scroll" recognized? true
qt.qpa.input.devices: has valuator "Rel Vert Scroll" recognized? true
qt.qpa.input.devices: it's a scrolling device
qt.qpa.input: XInput 2.2: Selecting press/release/motion events in addition to touch
qt.qpa.input.devices: input device Virtual core XTEST pointer
qt.qpa.input.devices: has 10 buttons
qt.qpa.input.devices: has valuator "Rel X" recognized? true
qt.qpa.input.devices: has valuator "Rel Y" recognized? true
qt.qpa.input.devices: it's a scrolling device
qt.qpa.input.devices: input device SynPS/2 Synaptics TouchPad
qt.qpa.input.devices: has 12 buttons
qt.qpa.input.devices: has valuator "Rel X" recognized? true
qt.qpa.input.devices: has valuator "Rel Y" recognized? true
qt.qpa.input.devices: has valuator "Rel Horiz Scroll" recognized? true
qt.qpa.input.devices: has valuator "Rel Vert Scroll" recognized? true
qt.qpa.input.devices: it's a scrolling device
qt.qpa.input.devices: input device Logitech USB-PS/2 Optical Mouse
qt.qpa.input.devices: has 7 buttons
qt.qpa.input.devices: has valuator "Rel X" recognized? true
qt.qpa.input.devices: has valuator "Rel Y" recognized? true
qt.qpa.input.devices: has valuator "Rel Vert Wheel" recognized? true
qt.qpa.input.devices: it's a scrolling device
qt.qpa.input: XInput 2.2: Selecting press/release/motion events in addition to touch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment