#ifndef HOLESOME_INPUT_IDENTITY_H #define HOLESOME_INPUT_IDENTITY_H #include "direction.h" enum InputDeviceType { ALL, KEYBOARD, GAMEPAD }; struct InputIdentity { Direction direction = Direction(); InputDeviceType deviceType = InputDeviceType::ALL; unsigned int gamepadId = 0; unsigned int inputOrder = 0; bool isActive = true; explicit InputIdentity(InputDeviceType type, unsigned int gamepad = 0) { deviceType = type; gamepadId = gamepad; }; }; #endif //HOLESOME_INPUT_IDENTITY_H