glfw3.input

Translated from C to D

Members

Static functions

_glfwAllocJoystick
_GLFWjoystick* _glfwAllocJoystick(const(char)* name, const(char)* guid, int axisCount, int buttonCount, int hatCount)

/////////////////////////////////////////////////////////////////////// /// GLFW internal API ////// ///////////////////////////////////////////////////////////////////////

_glfwCenterCursorInContentArea
void _glfwCenterCursorInContentArea(_GLFWwindow* window)
Undocumented in source. Be warned that the author may not have intended to support it.
_glfwFreeJoystick
void _glfwFreeJoystick(_GLFWjoystick* js)
Undocumented in source. Be warned that the author may not have intended to support it.
_glfwInputChar
void _glfwInputChar(_GLFWwindow* window, uint codepoint, int mods, GLFWbool plain)
Undocumented in source. Be warned that the author may not have intended to support it.
_glfwInputCursorEnter
void _glfwInputCursorEnter(_GLFWwindow* window, GLFWbool entered)
Undocumented in source. Be warned that the author may not have intended to support it.
_glfwInputCursorPos
void _glfwInputCursorPos(_GLFWwindow* window, double xpos, double ypos)
Undocumented in source. Be warned that the author may not have intended to support it.
_glfwInputDrop
void _glfwInputDrop(_GLFWwindow* window, int count, const(char)** paths)
Undocumented in source. Be warned that the author may not have intended to support it.
_glfwInputJoystick
void _glfwInputJoystick(_GLFWjoystick* js, int event)
Undocumented in source. Be warned that the author may not have intended to support it.
_glfwInputJoystickAxis
void _glfwInputJoystickAxis(_GLFWjoystick* js, int axis, float value)
Undocumented in source. Be warned that the author may not have intended to support it.
_glfwInputJoystickButton
void _glfwInputJoystickButton(_GLFWjoystick* js, int button, char value)
Undocumented in source. Be warned that the author may not have intended to support it.
_glfwInputJoystickHat
void _glfwInputJoystickHat(_GLFWjoystick* js, int hat, char value)
Undocumented in source. Be warned that the author may not have intended to support it.
_glfwInputKey
void _glfwInputKey(_GLFWwindow* window, int key, int scancode, int action, int mods)

/////////////////////////////////////////////////////////////////////// /// GLFW event API ////// ///////////////////////////////////////////////////////////////////////

_glfwInputMouseClick
void _glfwInputMouseClick(_GLFWwindow* window, int button, int action, int mods)
Undocumented in source. Be warned that the author may not have intended to support it.
_glfwInputScroll
void _glfwInputScroll(_GLFWwindow* window, double xoffset, double yoffset)
Undocumented in source. Be warned that the author may not have intended to support it.
glfwCreateCursor
GLFWcursor* glfwCreateCursor(const(GLFWimage)* image, int xhot, int yhot)
Undocumented in source. Be warned that the author may not have intended to support it.
glfwCreateStandardCursor
GLFWcursor* glfwCreateStandardCursor(int shape)
Undocumented in source. Be warned that the author may not have intended to support it.
glfwDestroyCursor
void glfwDestroyCursor(GLFWcursor* handle)
Undocumented in source. Be warned that the author may not have intended to support it.
glfwGetClipboardString
const(char)* glfwGetClipboardString(GLFWwindow* handle)
Undocumented in source. Be warned that the author may not have intended to support it.
glfwGetCursorPos
void glfwGetCursorPos(GLFWwindow* handle, double* xpos, double* ypos)
Undocumented in source. Be warned that the author may not have intended to support it.
glfwGetGamepadName
const(char)* glfwGetGamepadName(int jid)
Undocumented in source. Be warned that the author may not have intended to support it.
glfwGetGamepadState
int glfwGetGamepadState(int jid, GLFWgamepadstate* state)
Undocumented in source. Be warned that the author may not have intended to support it.
glfwGetInputMode
int glfwGetInputMode(GLFWwindow* handle, int mode)

/////////////////////////////////////////////////////////////////////// /// GLFW public API ////// ///////////////////////////////////////////////////////////////////////

glfwGetJoystickAxes
const(float)* glfwGetJoystickAxes(int jid, int* count)
Undocumented in source. Be warned that the author may not have intended to support it.
glfwGetJoystickButtons
const(ubyte)* glfwGetJoystickButtons(int jid, int* count)
Undocumented in source. Be warned that the author may not have intended to support it.
glfwGetJoystickGUID
const(char)* glfwGetJoystickGUID(int jid)
Undocumented in source. Be warned that the author may not have intended to support it.
glfwGetJoystickHats
const(ubyte)* glfwGetJoystickHats(int jid, int* count)
Undocumented in source. Be warned that the author may not have intended to support it.
glfwGetJoystickName
const(char)* glfwGetJoystickName(int jid)
Undocumented in source. Be warned that the author may not have intended to support it.
glfwGetJoystickUserPointer
void* glfwGetJoystickUserPointer(int jid)
Undocumented in source. Be warned that the author may not have intended to support it.
glfwGetKey
int glfwGetKey(GLFWwindow* handle, int key)
Undocumented in source. Be warned that the author may not have intended to support it.
glfwGetKeyName
const(char)* glfwGetKeyName(int key, int scancode)
Undocumented in source. Be warned that the author may not have intended to support it.
glfwGetKeyScancode
int glfwGetKeyScancode(int key)
Undocumented in source. Be warned that the author may not have intended to support it.
glfwGetMouseButton
int glfwGetMouseButton(GLFWwindow* handle, int button)
Undocumented in source. Be warned that the author may not have intended to support it.
glfwGetTime
double glfwGetTime()
Undocumented in source. Be warned that the author may not have intended to support it.
glfwGetTimerFrequency
ulong glfwGetTimerFrequency()
Undocumented in source. Be warned that the author may not have intended to support it.
glfwGetTimerValue
ulong glfwGetTimerValue()
Undocumented in source. Be warned that the author may not have intended to support it.
glfwJoystickIsGamepad
int glfwJoystickIsGamepad(int jid)
Undocumented in source. Be warned that the author may not have intended to support it.
glfwJoystickPresent
int glfwJoystickPresent(int jid)
Undocumented in source. Be warned that the author may not have intended to support it.
glfwRawMouseMotionSupported
int glfwRawMouseMotionSupported()
Undocumented in source. Be warned that the author may not have intended to support it.
glfwSetCharCallback
GLFWcharfun glfwSetCharCallback(GLFWwindow* handle, GLFWcharfun cbfun)
Undocumented in source. Be warned that the author may not have intended to support it.
glfwSetCharModsCallback
GLFWcharmodsfun glfwSetCharModsCallback(GLFWwindow* handle, GLFWcharmodsfun cbfun)
Undocumented in source. Be warned that the author may not have intended to support it.
glfwSetClipboardString
void glfwSetClipboardString(GLFWwindow* handle, const(char)* string)
Undocumented in source. Be warned that the author may not have intended to support it.
glfwSetCursor
void glfwSetCursor(GLFWwindow* windowHandle, GLFWcursor* cursorHandle)
Undocumented in source. Be warned that the author may not have intended to support it.
glfwSetCursorEnterCallback
GLFWcursorenterfun glfwSetCursorEnterCallback(GLFWwindow* handle, GLFWcursorenterfun cbfun)
Undocumented in source. Be warned that the author may not have intended to support it.
glfwSetCursorPos
void glfwSetCursorPos(GLFWwindow* handle, double xpos, double ypos)
Undocumented in source. Be warned that the author may not have intended to support it.
glfwSetCursorPosCallback
GLFWcursorposfun glfwSetCursorPosCallback(GLFWwindow* handle, GLFWcursorposfun cbfun)
Undocumented in source. Be warned that the author may not have intended to support it.
glfwSetDropCallback
GLFWdropfun glfwSetDropCallback(GLFWwindow* handle, GLFWdropfun cbfun)
Undocumented in source. Be warned that the author may not have intended to support it.
glfwSetInputMode
void glfwSetInputMode(GLFWwindow* handle, int mode, int value)
Undocumented in source. Be warned that the author may not have intended to support it.
glfwSetJoystickCallback
GLFWjoystickfun glfwSetJoystickCallback(GLFWjoystickfun cbfun)
Undocumented in source. Be warned that the author may not have intended to support it.
glfwSetJoystickUserPointer
void glfwSetJoystickUserPointer(int jid, void* pointer)
Undocumented in source. Be warned that the author may not have intended to support it.
glfwSetKeyCallback
GLFWkeyfun glfwSetKeyCallback(GLFWwindow* handle, GLFWkeyfun cbfun)
Undocumented in source. Be warned that the author may not have intended to support it.
glfwSetMouseButtonCallback
GLFWmousebuttonfun glfwSetMouseButtonCallback(GLFWwindow* handle, GLFWmousebuttonfun cbfun)
Undocumented in source. Be warned that the author may not have intended to support it.
glfwSetScrollCallback
GLFWscrollfun glfwSetScrollCallback(GLFWwindow* handle, GLFWscrollfun cbfun)
Undocumented in source. Be warned that the author may not have intended to support it.
glfwSetTime
void glfwSetTime(double time)
Undocumented in source. Be warned that the author may not have intended to support it.
glfwUpdateGamepadMappings
int glfwUpdateGamepadMappings(const(char)* string)
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

_GLFW_JOYSTICK_AXIS
enum _GLFW_JOYSTICK_AXIS;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
_GLFW_JOYSTICK_BUTTON
enum _GLFW_JOYSTICK_BUTTON;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
_GLFW_JOYSTICK_HATBIT
enum _GLFW_JOYSTICK_HATBIT;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
_GLFW_STICK
enum _GLFW_STICK;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Meta