# Using keyboard

**URL:** <https://discourse.glfw.org/t/using-keyboard/163>\
**Category:** support\
**Created:** [March 11, 2003, 12:00pm UTC](https://discourse.glfw.org/t/using-keyboard/163 "2003-03-11T12:00:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex035/uploads/glfw/original/1X/b8cdefe6b61b8d5aee6c43b2c56e9cf5eabecfe4.svg) [@system](https://discourse.glfw.org/u/system)\
**Post date:** [March 11, 2003, 12:00pm UTC](https://discourse.glfw.org/t/using-keyboard/163/1 "2003-03-11T12:00:53Z")

</div>

**nobody** wrote on [Tuesday, March 11, 2003](https://sourceforge.net/p/glfw/discussion/247562/thread/10bee88f/#418a):

My little problem is :  
What’s the better way to have the opportunity to move camera pressing a key in a continuos way ?  
If i use the standard callback function i have first a little movement and then continuos one.  
Now i put a little function that simple control with  
if on glfwgetkey ( like pong3d ).

Sorry for my english 😉  
Bye

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex035/uploads/glfw/original/1X/b8cdefe6b61b8d5aee6c43b2c56e9cf5eabecfe4.svg) [@system](https://discourse.glfw.org/u/system)\
**Post date:** [May 4, 2003, 9:27pm UTC](https://discourse.glfw.org/t/using-keyboard/163/2 "2003-05-04T21:27:00Z")

</div>

**nobody** wrote on [Sunday, May 04, 2003](https://sourceforge.net/p/glfw/discussion/247562/thread/10bee88f/#418a/214a):

I usually prefer the glfwGetKey method. It always reports the current state of a specific key, while a callback function only reports changes in key state.
