#include <Input.h>
◆ Manager()
◆ AddActionBinding()
◆ AddAxisBinding()
◆ AddInputFrame()
◆ DispatchEvents()
| void Manager::DispatchEvents |
( |
| ) |
|
◆ EnableBindings()
| void Input::Manager::EnableBindings |
( |
bool |
enabled | ) |
|
|
inline |
◆ EnableConfigSaving()
| void Input::Manager::EnableConfigSaving |
( |
bool |
enable | ) |
|
|
inline |
◆ GetActionBinding()
◆ GetAxisBinding()
◆ GetBindingPage()
| BindingPage* Input::Manager::GetBindingPage |
( |
std::string |
id | ) |
|
|
inline |
◆ GetBindingPages()
| std::map<std::string, BindingPage> Input::Manager::GetBindingPages |
( |
| ) |
|
|
inline |
◆ GetInputFrames()
| const std::vector<InputFrame *>& Input::Manager::GetInputFrames |
( |
| ) |
|
|
inline |
◆ GetMouseMotion()
| void Input::Manager::GetMouseMotion |
( |
int |
motion[2] | ) |
|
|
inline |
◆ GetMouseWheel()
| int Input::Manager::GetMouseWheel |
( |
| ) |
|
|
inline |
◆ HandleSDLEvent()
| void Manager::HandleSDLEvent |
( |
SDL_Event & |
ev | ) |
|
◆ HasInputFrame()
| bool Input::Manager::HasInputFrame |
( |
InputFrame * |
frame | ) |
|
|
inline |
◆ InitGame()
| void Manager::InitGame |
( |
| ) |
|
◆ IsCapturingMouse()
| bool Input::Manager::IsCapturingMouse |
( |
| ) |
const |
|
inline |
◆ IsJoystickEnabled()
| bool Input::Manager::IsJoystickEnabled |
( |
| ) |
|
|
inline |
◆ IsKeyDown()
| bool Input::Manager::IsKeyDown |
( |
SDL_Keycode |
k | ) |
|
|
inline |
◆ IsKeyPressed()
| bool Input::Manager::IsKeyPressed |
( |
SDL_Keycode |
k | ) |
|
|
inline |
◆ IsKeyReleased()
| bool Input::Manager::IsKeyReleased |
( |
SDL_Keycode |
k | ) |
|
|
inline |
◆ IsMouseYInvert()
| bool Input::Manager::IsMouseYInvert |
( |
| ) |
|
|
inline |
◆ JoystickAxisState()
| float Manager::JoystickAxisState |
( |
int |
joystick, |
|
|
int |
axis |
|
) |
| |
◆ JoystickButtonState()
| int Manager::JoystickButtonState |
( |
int |
joystick, |
|
|
int |
button |
|
) |
| |
◆ JoystickHatState()
| int Manager::JoystickHatState |
( |
int |
joystick, |
|
|
int |
hat |
|
) |
| |
◆ KeyModState()
| int Input::Manager::KeyModState |
( |
| ) |
|
|
inline |
◆ KeyState()
| bool Input::Manager::KeyState |
( |
SDL_Keycode |
k | ) |
|
|
inline |
◆ MarkBindingsDirty()
| void Input::Manager::MarkBindingsDirty |
( |
| ) |
|
|
inline |
◆ MouseButtonState()
| int Input::Manager::MouseButtonState |
( |
int |
button | ) |
|
|
inline |
◆ NewFrame()
| void Manager::NewFrame |
( |
| ) |
|
◆ RemoveInputFrame()
| void Manager::RemoveInputFrame |
( |
InputFrame * |
frame | ) |
|
◆ SetCapturingMouse()
| void Manager::SetCapturingMouse |
( |
bool |
enabled | ) |
|
◆ SetJoystickEnabled()
| void Manager::SetJoystickEnabled |
( |
bool |
state | ) |
|
◆ SetMouseButtonState()
| void Input::Manager::SetMouseButtonState |
( |
int |
button, |
|
|
bool |
state |
|
) |
| |
|
inline |
◆ SetMouseYInvert()
| void Manager::SetMouseYInvert |
( |
bool |
state | ) |
|
◆ onKeyPress
| sigc::signal<void, SDL_Keysym *> Input::Manager::onKeyPress |
◆ onKeyRelease
| sigc::signal<void, SDL_Keysym *> Input::Manager::onKeyRelease |
◆ onMouseButtonDown
| sigc::signal<void, int, int, int> Input::Manager::onMouseButtonDown |
◆ onMouseButtonUp
| sigc::signal<void, int, int, int> Input::Manager::onMouseButtonUp |
◆ onMouseWheel
| sigc::signal<void, bool> Input::Manager::onMouseWheel |
The documentation for this class was generated from the following files: