Rendu
A lightweight rendering engine for experimentations
Loading...
Searching...
No Matches
GamepadController.hpp
1#pragma once
2#include "input/controller/Controller.hpp"
3
8class GamepadController final : public Controller {
9
10public:
14 bool activate(int id) override;
15
19 void deactivate() override;
20
24 void update() override;
25};
Represents a joystick or any additional controller.
Definition: Controller.hpp:9
Represents a controller with a predefined mapping provided by GLFW/SDL.
Definition: GamepadController.hpp:8
bool activate(int id) override
Definition: GamepadController.cpp:5
void deactivate() override
Definition: GamepadController.cpp:19
void update() override
Definition: GamepadController.cpp:23