Accessibility Links

Skip to main contentAccessibility help
Accessibility feedback
Celebrating PopcornCelebrating Popcorn
Celebrating Popcorn
Press / to jump to the search box
Sign in

Filters and Topics

All
Images
Videos
Shopping
Forums
News
Web
More
C++
Example
Opengl
About 820,000 results (0.48 seconds) 

Search Results


Using OpenGL /GLUT how would I detect if two keys ...

Stack Overflow
https://stackoverflow.com
Stack Overflow
https://stackoverflow.com
Try the following: Use glutIgnoreKeyRepeat to only get physical keydown/keyup events; Use glutKeyboardFunc to register a callback listening ...
GLUT doesn't detect properly more then 2 keys pressed?
Jul 23, 2011
GLUT key down and key up on CTRL key - Stack Overflow
Aug 26, 2010
OpenGL / Glut Buttons and Keys - c++ - Stack Overflow
Mar 15, 2013
GLUT Key Mapping Duplicates - opengl - Stack Overflow
Jul 6, 2015
More results from stackoverflow.com

Pressing multiple keys at the same time using Glut - OpenGL

Khronos Forums
https://community.khronos.org
Khronos Forums
https://community.khronos.org
Aug 5, 2003 — I am programming a game and I need to be able to have multiple keys pressed simultaneously activating their respective functions ...
Two keys pressed, GLUT - OpenGL - Khronos Forums
Feb 14, 2004
GLUT two keys at once - OpenGL: Basic Coding
Jan 6, 2004
multiple keystrokes and holding a key down... - OpenGL
May 25, 2004
Multi Keyboard inputs & GLUT - OpenGL - Khronos Forums
Oct 4, 2000
More results from community.khronos.org

How to detect multiple key presses in OpenGL?

GameDev.net
https://www.gamedev.net
GameDev.net
https://www.gamedev.net
Nov 19, 2010 — You can actually get multiple key presses by holding the key down, but that is only because GLUT issues multiple callbacks if you hold it down, ...
multiple key input - Graphics and GPU Programming
Apr 15, 2010
How can I disable multiple keystrokes using GLUT? (Already ...
May 8, 2011
Keyboard input with glut - Graphics and GPU Programming
Mar 13, 2002
keyboard input using GLUT - Graphics and GPU Programming
Jun 28, 2004
More results from www.gamedev.net

Moving two objects at the same time using different keys on ...

Reddit · r/opengl
8 comments · 3 years ago
Reddit · r/opengl
8 comments · 3 years ago
I'm trying to figure out how to move two separate objects using different set of keys at the same time.

Keyboard and Mouse callbacks in GLUT

Game Development Stack Exchange
https://gamedev.stackexchange.com
Game Development Stack Exchange
https://gamedev.stackexchange.com
Sep 26, 2013 — The mouse function gets called whenever we press or release a mouse button. I want this too to get called repeatedly if I press and hold my mouse button, and ...
2 answers  ·  2 votes: glutIgnoreKeyRepeat to ignore auto-repeated keystrokes. (that resolves Questions 1 & 2.) ...
People also ask
How to hold multiple keys on screen keyboard?
Can you press multiple keys at once?
What is the difference between OpenGL and GLUT?
Which dash key is used to Recognise multiple keys?
Feedback

In GLUT, how do I bind an action to a press of "any key"?

Game Development Stack Exchange
https://gamedev.stackexchange.com
Game Development Stack Exchange
https://gamedev.stackexchange.com
Oct 17, 2015 — Using glutSpecialFunc and glutKeyboardfunction is correct way. Whenever a key is pressed one of the function register this.

3. OpenGL Keyboard Interaction (Version 2.0)

swiftless.com
https://www.swiftless.com › Blog
swiftless.com
https://www.swiftless.com › Blog
To handle multiple keys, you need to have the key repeat off. This can b done by adding “glutSetKeyRepeat(GLUT_KEY_REPEAT_OFF);” before the “glutMainLoop ...

multiple keyboard inputs with opengl

GameDev.net
https://gamedev.net
GameDev.net
https://gamedev.net
Apr 17, 2005 — The easiest way is to have an something like the following: bool keyArray[128];void keyb(unsigned char key, int x, int y){ keyArray[key] = !

GLUT:

Wayne State University
http://ftp.wayne.edu
Wayne State University
http://ftp.wayne.edu
GLUT captures keyboard input events as well as mouse button events and let us register callback functions to handle those incidents. The disadvantage of "hot ...

Keyboard

Lighthouse3d.com
http://www.lighthouse3d.com › Tutorials › GLUT Tutorial
Lighthouse3d.com
http://www.lighthouse3d.com › Tutorials › GLUT Tutorial
GLUT allows us to build applications that detect keyboard input using either the “normal” keys, or the special keys like F1 and Up.
People also ask
Feedback
People also search for
Opengl glut handle multiple keys
Glut handle multiple keys c++
Glut handle multiple keys example
GLUT key a
Glut key up
OpenGL arrow keys
glutMouseWheelFunc
GLFW keys

Page Navigation

12345678910Next

Footer Links

Google apps