Detecting modifier keys


New to openframeworks and I want to detect the modifier keys ctrl, shift and alt but I haven’t found how to. There don’t seem to be any specific function for it and I can’t find anything hidden coded into the key code like OF_KEY_F1 and the likes.

Thanks in advance.

hope the thread below would help you.,-shift,-alt-keys/927/0

Thanks! Just what I was looking for