Doxygen Samurai Engine 0.0.1
Doxygen Samurai Engine Documentation
Loading...
Searching...
No Matches
callbacks.cpp File Reference
#include "callbacks.h"
#include <string.h>
#include "input.h"
#include "windowGraphic/window.h"
Include dependency graph for callbacks.cpp:

Go to the source code of this file.

Functions

void addTypedInput (samurai::Input &input, unsigned int c)
 
void characterCallback (GLFWwindow *window, unsigned int codepoint)
 
void windowFocusCallback (GLFWwindow *window, int focused)
 
static void processAButton (samurai::Button &b, int action)
 
void keyCallback (GLFWwindow *window, int key, int scancode, int action, int mods)
 
void mouseCallback (GLFWwindow *window, int key, int action, int mods)
 

Function Documentation

◆ addTypedInput()

void addTypedInput ( samurai::Input & input,
unsigned int c )

Definition at line 9 of file callbacks.cpp.

Here is the caller graph for this function:

◆ characterCallback()

void characterCallback ( GLFWwindow * window,
unsigned int codepoint )

Definition at line 22 of file callbacks.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ keyCallback()

void keyCallback ( GLFWwindow * window,
int key,
int scancode,
int action,
int mods )

Definition at line 64 of file callbacks.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mouseCallback()

void mouseCallback ( GLFWwindow * window,
int key,
int action,
int mods )

Definition at line 136 of file callbacks.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ processAButton()

static void processAButton ( samurai::Button & b,
int action )
static

Definition at line 45 of file callbacks.cpp.

Here is the caller graph for this function:

◆ windowFocusCallback()

void windowFocusCallback ( GLFWwindow * window,
int focused )

Definition at line 30 of file callbacks.cpp.

Here is the caller graph for this function: