KEYMAPPER: Introduce a Virtual Mouse event source
The Virtual Mouse is meant to provide a way to control the mouse cursor on system without a physical mouse. It provides keymapper actions that are expected to be bound to game controller axes or buttons.
This commit is contained in:
parent
e66e35a3fd
commit
568d882e80
11 changed files with 360 additions and 8 deletions
|
@ -203,7 +203,7 @@ void OSystem_SDL::initBackend() {
|
|||
// Create the default event source, in case a custom backend
|
||||
// manager didn't provide one yet.
|
||||
if (_eventSource == 0)
|
||||
_eventSource = new LegacySdlEventSource();
|
||||
_eventSource = new SdlEventSource();
|
||||
|
||||
if (_eventManager == nullptr) {
|
||||
DefaultEventManager *eventManager = new DefaultEventManager(_eventSource);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue