Often the primary input for computer games. It boasts a very large versatility for direct input.
10
votes
5answers
2k views
Keyboard input system handling
Note: I have to poll, rather than do callbacks because of API limitations (SFML). I also apologize for the lack of a 'decent' title.
I think I have two questions here; how to register the input I'm ...
4
votes
3answers
2k views
How can I stop looking for keyboard input for a length of time?
I'm pretty new to programming, and even newer to C# and XNA. I currently call a method that looks for keyboard input in my Update method. This method has if statements for doing what needs to be done ...
7
votes
1answer
147 views
Javascript keyDown - no event approach
I'm making game in JavaScript. I have canvas for drawings and game loop. I'd like to make method readKeyboard, in game loop, to check if there is any pressed key. I don't want to attach event to ...
6
votes
3answers
3k views
How do I simulate the mouse and keyboard using C# or C++?
I want to start develop for Kinect, but hardest theme for it - how to send keyboard and mouse input to any application. In previous question I got an advice to develop my own driver for this devices, ...
2
votes
2answers
1k views
camera movement along with model
I am making a game in which a cube travels along a maze with the motive of crossing the maze safely. I have two problems in this.
The cube needs to have a smooth movement like it is traveling on a ...