#include <inputhandler.h>
Inheritance diagram for MyEventReceiver:
Collaboration diagram for MyEventReceiver:Public Member Functions | |
| virtual bool | OnEvent (const SEvent &event) |
| bool | IsKeyDown (const KeyPress &keyCode) const |
| bool | WasKeyDown (const KeyPress &keyCode) |
| bool | WasKeyPressed (const KeyPress &keycode) const |
| bool | WasKeyReleased (const KeyPress &keycode) const |
| void | listenForKey (const KeyPress &keyCode) |
| void | dontListenForKeys () |
| s32 | getMouseWheel () |
| void | clearInput () |
| void | releaseAllKeys () |
| void | clearWasKeyPressed () |
| void | clearWasKeyReleased () |
| PointerType | getLastPointerType () |
Public Attributes | |
| JoystickController * | joystick = nullptr |
Private Attributes | |
| s32 | mouse_wheel = 0 |
| KeyList | keyIsDown |
| KeyList | keyWasDown |
| KeyList | keyWasPressed |
| KeyList | keyWasReleased |
| KeyList | keysListenedFor |
| bool | fullscreen_is_down = false |
| PointerType | last_pointer_type = PointerType::Mouse |
|
inline |
References KeyList::clear(), keyIsDown, keyWasDown, keyWasPressed, keyWasReleased, and mouse_wheel.
Referenced by RealInputHandler::clear().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
References KeyList::clear(), and keyWasPressed.
Referenced by RealInputHandler::clearWasKeyPressed().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
References KeyList::clear(), and keyWasReleased.
Referenced by RealInputHandler::clearWasKeyReleased().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
References KeyList::clear(), and keysListenedFor.
Referenced by RealInputHandler::dontListenForKeys().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
References last_pointer_type.
Referenced by RenderingEngine::getLastPointerType().
Here is the caller graph for this function:
|
inline |
References mouse_wheel.
Referenced by RealInputHandler::getMouseWheel().
Here is the caller graph for this function:
|
inline |
References keyIsDown.
Referenced by RealInputHandler::isKeyDown(), and OnEvent().
Here is the caller graph for this function:
|
inline |
References keysListenedFor, and KeyList::set().
Referenced by RealInputHandler::listenForKey().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
References ARRLEN, fullscreen_is_down, g_logger, g_menumgr, g_settings, g_touchcontrols, RenderingEngine::get_raw_device(), getKeySetting(), Settings::getU16(), JoystickController::handleEvent(), IsKeyDown(), isMenuActive(), joystick, keyIsDown, keysListenedFor, keyWasDown, keyWasPressed, keyWasReleased, last_pointer_type, LL_ERROR, LL_INFO, LL_NONE, LL_VERBOSE, LL_WARNING, LMBKey, Logger::log(), MMBKey, Mouse, mouse_wheel, MainMenuManager::preprocessEvent(), RMBKey, KeyList::set(), Settings::setBool(), Settings::setU16(), TouchControls::setVisible(), Touch, TouchControls::translateEvent(), and KeyList::unset().
Here is the call graph for this function:
|
inline |
References KeyList::append(), KeyList::clear(), keyIsDown, and keyWasReleased.
Referenced by RealInputHandler::releaseAllKeys().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
References keyWasDown, and KeyList::unset().
Referenced by RealInputHandler::wasKeyDown().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
References keyWasPressed.
Referenced by RealInputHandler::wasKeyPressed().
Here is the caller graph for this function:
|
inline |
References keyWasReleased.
Referenced by RealInputHandler::wasKeyReleased().
Here is the caller graph for this function:
|
private |
Referenced by OnEvent().
| JoystickController* MyEventReceiver::joystick = nullptr |
Referenced by RealInputHandler::RealInputHandler(), RealInputHandler::~RealInputHandler(), and OnEvent().
|
private |
Referenced by clearInput(), IsKeyDown(), OnEvent(), and releaseAllKeys().
|
private |
Referenced by dontListenForKeys(), listenForKey(), and OnEvent().
|
private |
Referenced by clearInput(), OnEvent(), and WasKeyDown().
|
private |
Referenced by clearInput(), clearWasKeyPressed(), OnEvent(), and WasKeyPressed().
|
private |
Referenced by clearInput(), clearWasKeyReleased(), OnEvent(), releaseAllKeys(), and WasKeyReleased().
|
private |
Referenced by getLastPointerType(), and OnEvent().
|
private |
Referenced by clearInput(), getMouseWheel(), and OnEvent().