summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/hp_hil/hlekbd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/hp_hil/hlekbd.cpp')
-rw-r--r--src/devices/bus/hp_hil/hlekbd.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/devices/bus/hp_hil/hlekbd.cpp b/src/devices/bus/hp_hil/hlekbd.cpp
index 980d373750d..e068e9a0ec5 100644
--- a/src/devices/bus/hp_hil/hlekbd.cpp
+++ b/src/devices/bus/hp_hil/hlekbd.cpp
@@ -9,11 +9,13 @@
DEVICE TYPE GLOBALS
***************************************************************************/
-device_type const HP_IPC_HLE_KEYBOARD = device_creator<bus::hp_hil::hle_hp_ipc_device>;
+DEFINE_DEVICE_TYPE_NS(HP_IPC_HLE_KEYBOARD, bus::hp_hil, hle_hp_ipc_device, "hp_ipc_hle_kbd", "HP Integral Keyboard (HLE)")
namespace bus { namespace hp_hil {
+
namespace {
+
/***************************************************************************
INPUT PORT DEFINITIONS
***************************************************************************/
@@ -228,8 +230,8 @@ INPUT_PORTS_END
designated device constructor
--------------------------------------------------*/
-hle_device_base::hle_device_base(machine_config const &mconfig, device_type type, char const *name, char const *tag, device_t *owner, uint32_t clock, char const *shortname, char const *source)
- : device_t(mconfig, type, name, tag, owner, clock, shortname, source)
+hle_device_base::hle_device_base(machine_config const &mconfig, device_type type, char const *tag, device_t *owner, uint32_t clock)
+ : device_t(mconfig, type, tag, owner, clock)
, device_hp_hil_interface(mconfig, *this)
, device_matrix_keyboard_interface(mconfig, *this, "COL1", "COL2", "COL3", "COL4", "COL5", "COL6", "COL7", "COL8", "COL9", "COL10", "COL11", "COL12", "COL13", "COL14", "COL15")
{ }
@@ -394,7 +396,7 @@ void hle_device_base::key_break(uint8_t row, uint8_t column)
--------------------------------------------------*/
hle_hp_ipc_device::hle_hp_ipc_device(machine_config const &mconfig, char const *tag, device_t *owner, uint32_t clock)
- : hle_device_base(mconfig, HP_IPC_HLE_KEYBOARD, "HP Integral Keyboard (HLE)", tag, owner, clock, "hp_ipc_hle_kbd", __FILE__)
+ : hle_device_base(mconfig, HP_IPC_HLE_KEYBOARD, tag, owner, clock)
{ }