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

Controller device event structure (event.cdevice.*) Подробнее...

#include <SDL_events.h>

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

Uint32 type
 
Uint32 timestamp
 
Sint32 which
 

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

Controller device event structure (event.cdevice.*)

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

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

◆ type

Uint32 SDL_ControllerDeviceEvent::type

SDL_CONTROLLERDEVICEADDED, SDL_CONTROLLERDEVICEREMOVED, or SDL_CONTROLLERDEVICEREMAPPED

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

◆ timestamp

Uint32 SDL_ControllerDeviceEvent::timestamp

In milliseconds, populated using SDL_GetTicks()

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

◆ which

Sint32 SDL_ControllerDeviceEvent::which

The joystick device index for the ADDED event, instance id for the REMOVED or REMAPPED event

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


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