summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/vcs_ctrl/ctrl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/vcs_ctrl/ctrl.cpp')
-rw-r--r--src/devices/bus/vcs_ctrl/ctrl.cpp14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/devices/bus/vcs_ctrl/ctrl.cpp b/src/devices/bus/vcs_ctrl/ctrl.cpp
index 57cdad8f4ba..8cf51645a55 100644
--- a/src/devices/bus/vcs_ctrl/ctrl.cpp
+++ b/src/devices/bus/vcs_ctrl/ctrl.cpp
@@ -28,7 +28,7 @@ DEFINE_DEVICE_TYPE(VCS_CONTROL_PORT, vcs_control_port_device, "vcs_control_port"
//-------------------------------------------------
device_vcs_control_port_interface::device_vcs_control_port_interface(const machine_config &mconfig, device_t &device) :
- device_slot_card_interface(mconfig, device)
+ device_interface(device, "vcsctrl")
{
m_port = dynamic_cast<vcs_control_port_device *>(device.owner());
}
@@ -58,8 +58,6 @@ vcs_control_port_device::vcs_control_port_device(const machine_config &mconfig,
void vcs_control_port_device::device_start()
{
m_device = dynamic_cast<device_vcs_control_port_interface *>(get_card_device());
-
- m_write_trigger.resolve_safe();
}
@@ -67,12 +65,14 @@ void vcs_control_port_device::device_start()
// SLOT_INTERFACE( vcs_control_port_devices )
//-------------------------------------------------
+#include "cx85.h"
#include "joybooster.h"
#include "joystick.h"
#include "keypad.h"
#include "lightpen.h"
#include "mouse.h"
#include "paddles.h"
+#include "trakball.h"
#include "wheel.h"
void vcs_control_port_devices(device_slot_interface &device)
@@ -84,4 +84,12 @@ void vcs_control_port_devices(device_slot_interface &device)
device.option_add("joybstr", VCS_JOYSTICK_BOOSTER);
device.option_add("wheel", VCS_WHEEL);
device.option_add("keypad", VCS_KEYPAD);
+ device.option_add("cx85", ATARI_CX85);
+ device.option_add("trakball", ATARI_TRAKBALL);
+}
+
+void a800_control_port_devices(device_slot_interface &device)
+{
+ vcs_control_port_devices(device);
+ device.set_option_machine_config("pad", &vcs_paddles_device::reverse_players);
}