Refactored Input, create DisplayServer and DisplayServerX11

This commit is contained in:
Juan Linietsky
2020-03-01 19:14:37 -03:00
committed by Juan Linietsky
parent a2da99f40c
commit 4396e98834
95 changed files with 4820 additions and 693 deletions

View File

@@ -30,8 +30,8 @@
#include "midi_driver.h"
#include "core/input/input.h"
#include "core/os/os.h"
#include "main/input_default.h"
uint8_t MIDIDriver::last_received_message = 0x00;
MIDIDriver *MIDIDriver::singleton = NULL;
@@ -117,7 +117,7 @@ void MIDIDriver::receive_input_packet(uint64_t timestamp, uint8_t *data, uint32_
break;
}
InputDefault *id = Object::cast_to<InputDefault>(Input::get_singleton());
Input *id = Input::get_singleton();
id->parse_input_event(event);
}