//********************************** Banshee Engine (www.banshee3d.com) **************************************************// //**************** Copyright (c) 2016 Marko Pintera (marko.pintera@gmail.com). All rights reserved. **********************// #pragma once #include "BsCorePrerequisites.h" namespace bs { /** Infomation about an analog axis that's part of a gamepad. */ struct AxisInfo { INT32 axisIdx; INT32 min; INT32 max; }; /** Information about a gamepad. */ struct GamepadInfo { UINT32 id; UINT32 eventHandlerIdx; String name; UnorderedMap buttonMap; UnorderedMap axisMap; }; /** * Data specific to Linux implementation of the input system. Can be passed to platform specific implementations of * the individual device types. */ struct InputPrivateData { Vector gamepadInfos; Vector mice; Vector keyboards; }; #define BUFFER_SIZE_GAMEPAD 64 #define BUFFER_SIZE_KEYBOARD 128 #define BUFFER_SIZE_MOUSE 16 }