Detect mac keyboard modifiers