#include <input-watcher.h>
Public Member Functions | |
InputWatcher (EventDispatcher *eventDispatcher, Keymapper *keymapper) | |
void | startWatching () |
void | stopWatching () |
bool | isWatching () const |
HardwareInput | checkForCapturedInput () |
Watches events for inputs that can be bound to actions
When the watch mode is enabled, the watcher disables the Keymapper and sets itself as an event observer. Once an event corresponding to a hardware input is received, it is saved for later retrieval.
Used by the remap dialog to capture input.