|
group2 0.1.0
CSE 125 Group 2
|
#include "SDL3/SDL_events.h"#include "SDL3/SDL_gamepad.h"#include "SDL3/SDL_mouse.h"#include "SDL3/SDL_scancode.h"#include <array>#include <cstddef>#include <cstdint>#include <string>#include <string_view>Go to the source code of this file.
Classes | |
| struct | Binding |
| One configurable action binding. More... | |
| class | InputBindings |
| Stores action-to-input bindings and helper conversions for UI and persistence. More... | |
Enumerations | |
| enum class | Action : uint8_t { Forward , Back , Left , Right , Jump , Crouch , AbilityMenu , Ability1 , Ability2 , Shoot , Scope , Reload , Pickup , SwitchToPrimary , SwitchToSecondary , PreviousWeapon , NextWeapon , CycleGrenade , KillSelf , Scoreboard , BuyMenu , PushToTalk , Count } |
| Player-configurable gameplay and HUD actions sampled by the client. More... | |
| enum class | BindingDevice : uint8_t { KeyboardMouse , Controller } |
| enum class | BindingKind : uint8_t { Unbound , Keyboard , MouseButton , MouseWheel , GamepadButton , GamepadAxis } |
| Physical input source type used by a binding. More... | |
| enum class | MouseButton : uint8_t { None = 0 , Left = SDL_BUTTON_LEFT , Middle = SDL_BUTTON_MIDDLE , Right = SDL_BUTTON_RIGHT , X1 = SDL_BUTTON_X1 , X2 = SDL_BUTTON_X2 } |
| Mouse buttons supported by the rebind UI. More... | |
| enum class | MouseWheelDirection : uint8_t { None , Up , Down } |
| enum class | GamepadAxisBinding : uint8_t { None , LeftTrigger , RightTrigger } |
|
strong |
Player-configurable gameplay and HUD actions sampled by the client.
|
strong |
|
strong |
Physical input source type used by a binding.
|
strong |
|
strong |
|
strong |