Arnold Engine
 
Loading...
Searching...
No Matches
AE::Core::Input Class Referenceabstract

Abstract base class for cross-platform input handling. More...

#include <Input.h>

Inheritance diagram for AE::Core::Input:
AE::Platform::Linux::LinuxInput AE::Platform::Mac::MacInput AE::Platform::Windows::WindowsInput

Static Public Member Functions

static bool IsKeyPressed (const int keycode)
 
static bool IsMouseButtonPressed (const int button)
 
static float GetMouseX ()
 
static float GetMouseY ()
 
static std::pair< float, float > GetMousePosition ()
 

Protected Member Functions

virtual bool IsKeyPressedImpl (int keycode)=0
 
virtual bool IsMouseButtonPressedImpl (int button)=0
 
virtual float GetMouseXImpl ()=0
 
virtual float GetMouseYImpl ()=0
 
virtual std::pair< float, float > GetMousePositionImpl ()=0
 

Detailed Description

Abstract base class for cross-platform input handling.

The Input class provides a unified interface for:

  • Keyboard input detection
  • Mouse button state tracking
  • Mouse position tracking
  • Platform-specific input implementations

Uses the singleton pattern to provide global access to input state.


The documentation for this class was generated from the following files: