Previous 199869 Revisions Next

r20308 Thursday 17th January, 2013 at 19:50:05 UTC by Carl
[mess] make the analog button a toggle (nw)
[src/mess/machine]psxanalog.c

trunk/src/mess/machine/psxanalog.c
r20307r20308
225225   PORT_BIT( 0xff, 0x80, IPT_PADDLE ) PORT_NAME("Left Analog Y") PORT_SENSITIVITY(100)
226226
227227   PORT_START("PSXMISC")
228   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON11 ) PORT_NAME("Analog") PORT_CHANGED_MEMBER(DEVICE_SELF, psx_analog_controller_device, change_mode, 0)
228   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON11 ) PORT_NAME("Analog") PORT_TOGGLE PORT_CHANGED_MEMBER(DEVICE_SELF, psx_analog_controller_device, change_mode, 0)
229229INPUT_PORTS_END
230230
231231ioport_constructor psx_analog_controller_device::device_input_ports() const

Previous 199869 Revisions Next


© 1997-2024 The MAME Team