bakercp/openFrameworks — comment on commit 6e527a363e9abf80fada4cb11596151af802f52b
File:  line 0
By bakercp:

With this new system, you can check the status of modifier keys just as you can with pressed keys i.e.

cout << "CTRL=" << ofGetModifierPressed(OF_KEY_CTRL) << " ";
cout << "ALT=" << ofGetModifierPressed(OF_KEY_ALT) << " ";
cout << "SHIFT=" << ofGetModifierPressed(OF_KEY_SHIFT) << " ";
cout << endl;