Abstract base class for cross-platform input handling.
More...
#include <Input.h>
|
static bool | IsKeyPressed (const int keycode) |
|
static bool | IsMouseButtonPressed (const int button) |
|
static float | GetMouseX () |
|
static float | GetMouseY () |
|
static std::pair< float, float > | GetMousePosition () |
|
|
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 |
|
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:
- src/Arnold/Core/Input.h
- src/Platform/Linux/LinuxInput.cpp
- src/Platform/Mac/MacInput.cpp
- src/Platform/Windows/WindowsInput.cpp