summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/machine.cpp
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2020-12-26 13:38:14 -0500
committer AJR <ajrhacker@users.noreply.github.com>2020-12-26 13:39:34 -0500
commitc04e2cbe0b88d67fed6b0316633cb9cbed4c76aa (patch)
tree2d845a3297d90e110ee4364510ae982b1b0a098f /src/emu/machine.cpp
parent43f569e58f26d23032b950ebcbd02f352532ba95 (diff)
natkeyboard: Remove from ioport_manager
Diffstat (limited to 'src/emu/machine.cpp')
-rw-r--r--src/emu/machine.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/emu/machine.cpp b/src/emu/machine.cpp
index 3d9b6c428a2..a7fdddc5fd2 100644
--- a/src/emu/machine.cpp
+++ b/src/emu/machine.cpp
@@ -84,6 +84,7 @@
#include "network.h"
#include "romload.h"
#include "tilemap.h"
+#include "natkeyboard.h"
#include "ui/uimain.h"
#include <ctime>
#include <rapidjson/writer.h>
@@ -218,6 +219,9 @@ void running_machine::start()
if (newbase != 0)
m_base_time = newbase;
+ // initialize natural keyboard support after ports have been initialized
+ m_natkeyboard = std::make_unique<natural_keyboard>(*this);
+
// initialize the streams engine before the sound devices start
m_sound = std::make_unique<sound_manager>(*this);