"Bug" located at [1]. We need to mask `NSDeviceIndependentModifierFlags` in there (see [2]).
Left ⌘ is 1048840 (which is bit 20, a.k.a NSCommandKeyMask, bit 8, and bit 3 which I can't find any definition for) Right ⌘ is 1048848 (which is bit 20 (hopefully ;-)), bit 8 and bit 4). This would seem to imply that bit 3 means "left", and bit 4 is "right", but this is not explained anywhere in the documentation so YMMV. 1 - https://github.com/quicksilver/Quicksilver/blob/master/Quicksilver/Code-App/QSModifierKeyEvents.m#L70 2 - http://stackoverflow.com/questions/6084266/check-modifierflags-of-nsevent-if-a-certain-modifier-was-pressed-but-no-other Cordialement, Etienne Samson -- [email protected] > Le 24 août 2015 à 11:33, 1.61803 <[email protected]> a écrit : > > On Monday, August 24, 2015 at 4:10:23 AM UTC+2, Rob McBroom wrote: > I use Control and it works on either side (and does Caps Lock, which is > mapped to Control and what I mostly use). > > Do you have any key reapers or custom bindings in effect? > > Maybe try something like Key Codes to see what’s going on. > > > I do have KeyRemap4MacBook, but even with default profile (no remapping) QS > doesn't activate with the right side modifiers. > > Key Codes logs the following > > > Command left > > Modifier Change > Keys: ⌘ > Key Code: 65535 / 0xffff > Modifiers: 1048840 / 0x100108 > > Modifier Change > Keys: > Key Code: 65535 / 0xffff > Modifiers: 256 / 0x100 > > > Command right > > Modifier Change > Keys: ⌘ > Key Code: 65535 / 0xffff > Modifiers: 1048848 / 0x100110 > > Modifier Change > Keys: > Key Code: 65535 / 0xffff > Modifiers: 256 / 0x100 > > > And this is already written to the plist > > <key>QSActivationHotKey</key> > <dict> > <key>keyCode</key> > <integer>49</integer> > <key>modifiers</key> > <integer>1048840</integer> > </dict> > > -- > You received this message because you are subscribed to the Google Groups > "Quicksilver" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/blacktree-quicksilver. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Quicksilver" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/blacktree-quicksilver. For more options, visit https://groups.google.com/d/optout.
