Raydium 3D Game Engine https://memak.raydium.org/ |
|
Keyboard https://memak.raydium.org/viewtopic.php?f=8&t=910 |
Page 1 of 1 |
Author: | Farabi [ Sat Nov 22, 2008 6:38 am ] |
Post subject: | Keyboard |
How to know when a keyboard key is released? |
Author: | ouille [ Sat Nov 22, 2008 11:05 am ] |
Post subject: | Re: Keyboard |
Hello, It seems that only special keys can handle this (cursor up/down/left/right). perhapse try to look in myglut loop. What's your aim ? Have a nice day Ouille. |
Author: | Farabi [ Sun Nov 23, 2008 2:26 am ] |
Post subject: | Re: Keyboard |
I want a smooth object moving using alpabet keyboard such as "a" "w" "s" "d". I will set 1 on the keyboard buffer when pressed and set it to 0 when it released because when I used "glutKeyboardFunc" the movement is not smooth. |
Author: | ouille [ Sun Nov 23, 2008 11:58 am ] |
Post subject: | Re: Keyboard |
Hello, use up/down/left/right for instance they are normal working this way. I need some time to verify if it's possible to change others keys behavior. Have a nice day Ouille. |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |