SDL  2.0
SDL_ExtendedGameControllerBind Struct Reference

Data Fields

SDL_GameControllerBindType inputType
 
union {
   int   button
 
   struct {
      int   axis
 
      int   axis_min
 
      int   axis_max
 
   }   axis
 
   struct {
      int   hat
 
      int   hat_mask
 
   }   hat
 
input
 
SDL_GameControllerBindType outputType
 
union {
   SDL_GameControllerButton   button
 
   struct {
      SDL_GameControllerAxis   axis
 
      int   axis_min
 
      int   axis_max
 
   }   axis
 
output
 

Detailed Description

Definition at line 46 of file SDL_gamecontroller.c.

Field Documentation

◆ axis [1/4]

◆ axis [2/4]

struct { ... } SDL_ExtendedGameControllerBind::axis

◆ axis [3/4]

SDL_GameControllerAxis SDL_ExtendedGameControllerBind::axis

Definition at line 72 of file SDL_gamecontroller.c.

◆ axis [4/4]

struct { ... } SDL_ExtendedGameControllerBind::axis

◆ axis_max

int SDL_ExtendedGameControllerBind::axis_max

Definition at line 56 of file SDL_gamecontroller.c.

◆ axis_min

int SDL_ExtendedGameControllerBind::axis_min

Definition at line 55 of file SDL_gamecontroller.c.

◆ button [1/2]

◆ button [2/2]

SDL_GameControllerButton SDL_ExtendedGameControllerBind::button

Definition at line 69 of file SDL_gamecontroller.c.

◆ hat [1/2]

◆ hat [2/2]

struct { ... } SDL_ExtendedGameControllerBind::hat

◆ hat_mask

int SDL_ExtendedGameControllerBind::hat_mask

Definition at line 61 of file SDL_gamecontroller.c.

◆ input

◆ inputType

◆ output

◆ outputType


The documentation for this struct was generated from the following file: