Defines |
#define | _GLFW_STICK 3 |
Functions |
void | _glfwInputChar (_GLFWwindow *window, unsigned int codepoint, int mods, int plain) |
| Notifies shared code of a Unicode character input event.
|
void | _glfwInputCursorEnter (_GLFWwindow *window, int entered) |
| Notifies shared code of a cursor enter/leave event.
|
void | _glfwInputCursorMotion (_GLFWwindow *window, double x, double y) |
| Notifies shared code of a cursor motion event.
|
void | _glfwInputDrop (_GLFWwindow *window, int count, const char **paths) |
| Notifies dropped object over window.
|
void | _glfwInputKey (_GLFWwindow *window, int key, int scancode, int action, int mods) |
| Notifies shared code of a physical key event.
|
void | _glfwInputMouseClick (_GLFWwindow *window, int button, int action, int mods) |
| Notifies shared code of a mouse button click event.
|
void | _glfwInputScroll (_GLFWwindow *window, double xoffset, double yoffset) |
| Notifies shared code of a scroll event.
|
GLFWAPI GLFWcursor * | glfwCreateCursor (const GLFWimage *image, int xhot, int yhot) |
| Creates a custom cursor.
|
GLFWAPI GLFWcursor * | glfwCreateStandardCursor (int shape) |
| Creates a cursor with a standard shape.
|
GLFWAPI void | glfwDestroyCursor (GLFWcursor *handle) |
| Destroys a cursor.
|
GLFWAPI const char * | glfwGetClipboardString (GLFWwindow *handle) |
| Returns the contents of the clipboard as a string.
|
GLFWAPI void | glfwGetCursorPos (GLFWwindow *handle, double *xpos, double *ypos) |
| Retrieves the position of the cursor relative to the client area of the window.
|
GLFWAPI int | glfwGetInputMode (GLFWwindow *handle, int mode) |
| Returns the value of an input option for the specified window.
|
GLFWAPI const float * | glfwGetJoystickAxes (int joy, int *count) |
| Returns the values of all axes of the specified joystick.
|
GLFWAPI const unsigned char * | glfwGetJoystickButtons (int joy, int *count) |
| Returns the state of all buttons of the specified joystick.
|
GLFWAPI const char * | glfwGetJoystickName (int joy) |
| Returns the name of the specified joystick.
|
GLFWAPI int | glfwGetKey (GLFWwindow *handle, int key) |
| Returns the last reported state of a keyboard key for the specified window.
|
GLFWAPI int | glfwGetMouseButton (GLFWwindow *handle, int button) |
| Returns the last reported state of a mouse button for the specified window.
|
GLFWAPI double | glfwGetTime (void) |
| Returns the value of the GLFW timer.
|
GLFWAPI int | glfwJoystickPresent (int joy) |
| Returns whether the specified joystick is present.
|
GLFWAPI GLFWcharfun | glfwSetCharCallback (GLFWwindow *handle, GLFWcharfun cbfun) |
| Sets the Unicode character callback.
|
GLFWAPI GLFWcharmodsfun | glfwSetCharModsCallback (GLFWwindow *handle, GLFWcharmodsfun cbfun) |
| Sets the Unicode character with modifiers callback.
|
GLFWAPI void | glfwSetClipboardString (GLFWwindow *handle, const char *string) |
| Sets the clipboard to the specified string.
|
GLFWAPI void | glfwSetCursor (GLFWwindow *windowHandle, GLFWcursor *cursorHandle) |
| Sets the cursor for the window.
|
GLFWAPI GLFWcursorenterfun | glfwSetCursorEnterCallback (GLFWwindow *handle, GLFWcursorenterfun cbfun) |
| Sets the cursor enter/exit callback.
|
GLFWAPI void | glfwSetCursorPos (GLFWwindow *handle, double xpos, double ypos) |
| Sets the position of the cursor, relative to the client area of the window.
|
GLFWAPI GLFWcursorposfun | glfwSetCursorPosCallback (GLFWwindow *handle, GLFWcursorposfun cbfun) |
| Sets the cursor position callback.
|
GLFWAPI GLFWdropfun | glfwSetDropCallback (GLFWwindow *handle, GLFWdropfun cbfun) |
| Sets the file drop callback.
|
GLFWAPI void | glfwSetInputMode (GLFWwindow *handle, int mode, int value) |
| Sets an input option for the specified window.
|
GLFWAPI GLFWkeyfun | glfwSetKeyCallback (GLFWwindow *handle, GLFWkeyfun cbfun) |
| Sets the key callback.
|
GLFWAPI GLFWmousebuttonfun | glfwSetMouseButtonCallback (GLFWwindow *handle, GLFWmousebuttonfun cbfun) |
| Sets the mouse button callback.
|
GLFWAPI GLFWscrollfun | glfwSetScrollCallback (GLFWwindow *handle, GLFWscrollfun cbfun) |
| Sets the scroll callback.
|
GLFWAPI void | glfwSetTime (double time) |
| Sets the GLFW timer.
|
static void | setCursorMode (_GLFWwindow *window, int newMode) |
static void | setStickyKeys (_GLFWwindow *window, int enabled) |
static void | setStickyMouseButtons (_GLFWwindow *window, int enabled) |