src/mess/machine/abc99.c
| r14835 | r14836 | |
| 233 | 233 | |
| 234 | 234 | |
| 235 | 235 | //------------------------------------------------- |
| 236 | | // INPUT_PORTS( abc99 ) |
| 236 | // INPUT_CHANGED_MEMBER( keyboard_reset ) |
| 237 | 237 | //------------------------------------------------- |
| 238 | 238 | |
| 239 | | INPUT_CHANGED( abc99_device::keyboard_reset ) |
| 239 | INPUT_CHANGED_MEMBER( abc99_device::keyboard_reset ) |
| 240 | 240 | { |
| 241 | | abc99_device *keyboard = static_cast<abc99_device *>(field.machine().device(ABC99_TAG)); |
| 242 | | |
| 243 | | device_set_input_line(keyboard->m_mousecpu, INPUT_LINE_RESET, newval ? CLEAR_LINE : ASSERT_LINE); |
| 241 | device_set_input_line(m_mousecpu, INPUT_LINE_RESET, newval ? CLEAR_LINE : ASSERT_LINE); |
| 244 | 242 | } |
| 245 | 243 | |
| 246 | 244 | |
| r14835 | r14836 | |
| 435 | 433 | PORT_BIT( 0xff, 0x00, IPT_MOUSE_Y ) PORT_SENSITIVITY(100) PORT_KEYDELTA(5) PORT_MINMAX(0, 255) PORT_PLAYER(1) |
| 436 | 434 | |
| 437 | 435 | PORT_START("J4") |
| 438 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SPECIAL ) PORT_NAME("Keyboard Reset") PORT_CHANGED(abc99_device::keyboard_reset, 0) |
| 436 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SPECIAL ) PORT_NAME("Keyboard Reset") PORT_CHANGED_MEMBER(DEVICE_SELF, abc99_device, keyboard_reset, 0) |
| 439 | 437 | INPUT_PORTS_END |
| 440 | 438 | |
| 441 | 439 | |