Wise&mystical  1.0
Project about Europe
Loading...
Searching...
No Matches
linux_joystick.c File Reference
#include "internal.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/inotify.h>
#include <fcntl.h>
#include <errno.h>
#include <dirent.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+ Include dependency graph for linux_joystick.c:

Go to the source code of this file.

Macros

#define SYN_DROPPED   3
 
#define isBitSet(bit, arr)   (arr[(bit) / 8] & (1 << ((bit) % 8)))
 

Functions

void _glfwDetectJoystickConnectionLinux (void)
 
GLFWbool _glfwPlatformInitJoysticks (void)
 
void _glfwPlatformTerminateJoysticks (void)
 
int _glfwPlatformPollJoystick (_GLFWjoystick *js, int mode)
 
void _glfwPlatformUpdateGamepadGUID (char *guid)
 

Macro Definition Documentation

◆ isBitSet

#define isBitSet (   bit,
  arr 
)    (arr[(bit) / 8] & (1 << ((bit) % 8)))

Definition at line 123 of file linux_joystick.c.

◆ SYN_DROPPED

#define SYN_DROPPED   3

Definition at line 45 of file linux_joystick.c.

Function Documentation

◆ _glfwDetectJoystickConnectionLinux()

void _glfwDetectJoystickConnectionLinux ( void  )

Definition at line 267 of file linux_joystick.c.

+ Here is the caller graph for this function:

◆ _glfwPlatformInitJoysticks()

GLFWbool _glfwPlatformInitJoysticks ( void  )

Definition at line 310 of file linux_joystick.c.

+ Here is the call graph for this function:

◆ _glfwPlatformPollJoystick()

int _glfwPlatformPollJoystick ( _GLFWjoystick js,
int  mode 
)

Definition at line 385 of file linux_joystick.c.

◆ _glfwPlatformTerminateJoysticks()

void _glfwPlatformTerminateJoysticks ( void  )

Definition at line 364 of file linux_joystick.c.

◆ _glfwPlatformUpdateGamepadGUID()

void _glfwPlatformUpdateGamepadGUID ( char *  guid)

Definition at line 425 of file linux_joystick.c.