What is the correct usage of glfwSetInputMode

cameronking wrote on Tuesday, May 13, 2014:

It’s not clear to me from the docs what a valid value for the last parameter could be.

glfwSetInputMode ( mainwindow, GLFW_CURSOR_HIDDEN, 0 );

The error callback flags up a bad enum here.

Many thanks.

cameronking wrote on Tuesday, May 13, 2014:

I’m a doofus.

glfwSetInputMode ( mainwindow, GLFW_CURSOR, GLFW_CURSOR_HIDDEN );

Thanks.