How do I get 2 pressed keys like [shift]+[up]?
thanks
Silent_Set
How do I get 2 pressed keys like [shift]+[up]?
thanks
Silent_Set
It depends upon what GUI toolkit you are using?
For X Windows / Motif (see keysymdef.h), they are called key masks or modifiers (e.g. Shift<Key>XK_Up, Alt<Key>XK_Up, Ctrl<Key>XK_Up).
For GLUT, look at glutGetModifiers(), GLUT_ACTIVE_SHIFT, glutKeyboardFunc(), GLUT_KEY_UP, etc.
For Win32/MFC a quick Google search should put you on the right track.