World of Might and Magic  0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
Структура SDL_GameControllerButtonBind

#include <SDL_gamecontroller.h>

Открытые атрибуты

SDL_GameControllerBindType bindType
 
union {
   int   button
 
   int   axis
 
   struct {
      int   hat
 
      int   hat_mask
 
   }   hat
 
value
 

Подробное описание

Get the SDL joystick layer binding for this controller button/axis mapping

См. определение в файле SDL_gamecontroller.h строка 81

Данные класса

◆ bindType

SDL_GameControllerBindType SDL_GameControllerButtonBind::bindType

См. определение в файле SDL_gamecontroller.h строка 83

◆ button

int SDL_GameControllerButtonBind::button

См. определение в файле SDL_gamecontroller.h строка 86

◆ axis

int SDL_GameControllerButtonBind::axis

См. определение в файле SDL_gamecontroller.h строка 87

◆ hat [1/2]

int SDL_GameControllerButtonBind::hat

См. определение в файле SDL_gamecontroller.h строка 89

◆ hat_mask

int SDL_GameControllerButtonBind::hat_mask

См. определение в файле SDL_gamecontroller.h строка 90

◆ hat [2/2]

struct { ... } SDL_GameControllerButtonBind::hat

◆ value

union { ... } SDL_GameControllerButtonBind::value

Объявления и описания членов структуры находятся в файле: