Added a new MIDIDriver class
This commit is contained in:
parent
cfcb6e11f2
commit
7a5f9fc08e
28 changed files with 1029 additions and 4 deletions
|
|
@ -221,6 +221,10 @@ String _OS::get_audio_driver_name(int p_driver) const {
|
|||
return OS::get_singleton()->get_audio_driver_name(p_driver);
|
||||
}
|
||||
|
||||
PoolStringArray _OS::get_connected_midi_inputs() {
|
||||
return OS::get_singleton()->get_connected_midi_inputs();
|
||||
}
|
||||
|
||||
void _OS::set_video_mode(const Size2 &p_size, bool p_fullscreen, bool p_resizeable, int p_screen) {
|
||||
|
||||
OS::VideoMode vm;
|
||||
|
|
@ -1058,6 +1062,7 @@ void _OS::_bind_methods() {
|
|||
ClassDB::bind_method(D_METHOD("get_video_driver_name", "driver"), &_OS::get_video_driver_name);
|
||||
ClassDB::bind_method(D_METHOD("get_audio_driver_count"), &_OS::get_audio_driver_count);
|
||||
ClassDB::bind_method(D_METHOD("get_audio_driver_name", "driver"), &_OS::get_audio_driver_name);
|
||||
ClassDB::bind_method(D_METHOD("get_connected_midi_inputs"), &_OS::get_connected_midi_inputs);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("get_screen_count"), &_OS::get_screen_count);
|
||||
ClassDB::bind_method(D_METHOD("get_current_screen"), &_OS::get_current_screen);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue