mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 15:21:56 -05:00
Refactored Input, create DisplayServer and DisplayServerX11
This commit is contained in:
committed by
Juan Linietsky
parent
a2da99f40c
commit
4396e98834
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user