Macros | Functions
input.c File Reference
#include "internal.h"
#include <stdlib.h>
Include dependency graph for input.c:

Go to the source code of this file.

Macros

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

Macro Definition Documentation

#define _GLFW_STICK   3

Definition at line 36 of file input.c.

Function Documentation

static void setCursorMode ( _GLFWwindow window,
int  newMode 
)
static

Definition at line 41 of file input.c.

static void setStickyKeys ( _GLFWwindow window,
int  enabled 
)
static

Definition at line 87 of file input.c.

static void setStickyMouseButtons ( _GLFWwindow window,
int  enabled 
)
static

Definition at line 109 of file input.c.



librealsense
Author(s): Sergey Dorodnicov , Mark Horn , Reagan Lopez
autogenerated on Fri Mar 13 2020 03:16:18