summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/neogeo_ctrl/ctrl.cpp
diff options
context:
space:
mode:
author etabeta78 <doge.fabio@gmail.com>2016-04-14 18:36:34 +0200
committer etabeta78 <doge.fabio@gmail.com>2016-04-14 18:36:34 +0200
commit8a9e872224392913baddc0b3fc2ba173880ac3a0 (patch)
tree3b64cf4e73777f395ca1fed2ed03005c0c90c6c9 /src/devices/bus/neogeo_ctrl/ctrl.cpp
parent99aa7eacd7a2bb7a3711f8ff3f918e8fbe1f2819 (diff)
neogeo: reworked inputs to work through the slot device interface.
you can now configure the controllers available in the multicart driver (neogeo) with the -crtl1 and -ctrl2 options. when you run single game drivers (e.g. mslug, or kof94, etc.), instead, a unique controller is available and cannot be modified. [Fabio Priuli]
Diffstat (limited to 'src/devices/bus/neogeo_ctrl/ctrl.cpp')
-rw-r--r--src/devices/bus/neogeo_ctrl/ctrl.cpp13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/devices/bus/neogeo_ctrl/ctrl.cpp b/src/devices/bus/neogeo_ctrl/ctrl.cpp
index 6f96fdd3762..74d0c10586f 100644
--- a/src/devices/bus/neogeo_ctrl/ctrl.cpp
+++ b/src/devices/bus/neogeo_ctrl/ctrl.cpp
@@ -10,6 +10,8 @@
// slot devices
#include "joystick.h"
#include "mahjong.h"
+#include "dial.h"
+#include "kizuna4p.h"
//**************************************************************************
@@ -106,7 +108,16 @@ void neogeo_control_port_device::write_ctrlsel(UINT8 data)
//-------------------------------------------------
SLOT_INTERFACE_START( neogeo_controls )
- SLOT_INTERFACE("joy", NEOGEO_JOYSTICK)
+ SLOT_INTERFACE("joy", NEOGEO_JOY)
SLOT_INTERFACE("mahjong", NEOGEO_MJCTRL)
SLOT_INTERFACE_END
+SLOT_INTERFACE_START( neogeo_arc_ctrls )
+ SLOT_INTERFACE("joy", NEOGEO_JOY_AC)
+ SLOT_INTERFACE("mahjong", NEOGEO_MJCTRL_AC)
+ SLOT_INTERFACE("dial", NEOGEO_DIAL)
+SLOT_INTERFACE_END
+
+SLOT_INTERFACE_START( neogeo_kiz4p )
+ SLOT_INTERFACE("kiz4p", NEOGEO_KIZ4P)
+SLOT_INTERFACE_END