Game of Ur 0.3.3
This is a computer adaptation of Game of Ur, written in C++ mainly using SDL and OpenGL.
Loading...
Searching...
No Matches
input_system.hpp File Reference
#include <string>
#include <map>
#include <queue>
#include <memory>
#include <nlohmann/json.hpp>
#include <SDL2/SDL.h>
#include "input_data.hpp"

Go to the source code of this file.

Classes

class  ToyMaker::InputManager
 The class that acts as the main interface between the rest of the project and the input system. More...
 
class  ToyMaker::IActionHandler
 Class interface for systems that wish to be notified when action events occur in an action context. More...
 
class  ToyMaker::ActionContext
 A container for actions that make sense within a given context. More...
 
class  ToyMaker::ActionDispatch
 An object responsible for tracking action listeners for a given project. More...
 

Namespaces

namespace  ToyMaker
 Namespace containing all class definitions and functions related to the ToyMaker engine.
 

Detailed Description

Author
Zoheb Shujauddin (zoheb.nosp@m.2424.nosp@m.@gmai.nosp@m.l.co.nosp@m.m)
Version
0.3.2
Date
2025-09-01

The input system, in a nutshell, breaks up all inputs from every source into their constituent single axis values. Each such value is then remapped to one axis of one action.

See also
InputManager
input_data.hpp