-
2 keys
How do I get 2 pressed keys like [shift]+[up]?
thanks
Silent_Set
-
Junior Member
Regular Contributor
Re: 2 keys
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules