summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/keyboard.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-07-27 05:11:09 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-07-27 05:11:09 +0200
commit44abe501830f7df0c994a7fc252244da8f477c35 (patch)
tree1ea24fd90ff9efbe1a83ab70e8436ddee0a7bb3d /facetracknoir/keyboard.h
parentc5bd231e7f326cc9538d7f38e756f7fc988e9866 (diff)
shortcuts: guard against modifiers pressed in different order
Diffstat (limited to 'facetracknoir/keyboard.h')
-rwxr-xr-x[-rw-r--r--]facetracknoir/keyboard.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/facetracknoir/keyboard.h b/facetracknoir/keyboard.h
index a7673f8f..3df295e1 100644..100755
--- a/facetracknoir/keyboard.h
+++ b/facetracknoir/keyboard.h
@@ -23,9 +23,14 @@ public:
case 50331680: // shift
case 150994979: // alt
case 218103841: // ctrl+alt
+ case 218103843: // ctrl+alt
case 117440545: // ctrl+shift
+ case 117440544: // ctrl+shift
case 184549408: // alt+shift
+ case 184549411: // alt+shift
case 251658272: // ctrl+alt+shift
+ case 251658275: // ctrl+alt+shift
+ case 251658273: // ctrl+alt+shift
break;
default:
emit key_pressed(QKeySequence(event->key() | event->modifiers()));