Merge pull request #3 from hydrargyrum/master
Re-enable Ctrl-X in the "choose key" dialog to shun a joystick button
This commit is contained in:
@ -46,8 +46,8 @@ bool GetKey::x11Event( XEvent* e )
|
||||
wasMouse = false;
|
||||
if (XKeycodeToKeysym(QX11Info::display(),e->xkey.keycode,0) == XK_x) {
|
||||
if (e->xkey.state & ControlMask) {
|
||||
value = -1;
|
||||
reject();
|
||||
value = 0;
|
||||
accept();
|
||||
}
|
||||
else {
|
||||
value = e->xkey.keycode;
|
||||
|
Reference in New Issue
Block a user