Tagged Questions
0
votes
0answers
199 views
How to get keyboard input PS/2 scan codes or USB usage codes in a Qt application?
I'm trying to get the PS/2 scan codes or USB usage codes of keyboard keys pressed in a Qt application. I tried overriding QWidget::keyPressEvent() but QKeyEvent::navtiveScanCode() returns a value ...
5
votes
1answer
126 views
How to dump the icon of a running X program?
Is there a way to get the icon of a running X program? When you switch between windows, you could see the icon of it, e.g through xfwm4.