mirror of
https://github.com/holub/mame
synced 2025-04-25 01:40:16 +03:00
fdc37c93x.cpp: update to support ps/2 mouse
This commit is contained in:
parent
e938f48e24
commit
60260c8cb1
@ -275,7 +275,9 @@ void fdc37c93x_device::device_add_mconfig(machine_config &config)
|
||||
// keyboard
|
||||
KBDC8042(config, m_kbdc);
|
||||
m_kbdc->set_keyboard_type(kbdc8042_device::KBDC8042_PS2);
|
||||
m_kbdc->set_interrupt_type(kbdc8042_device::KBDC8042_DOUBLE);
|
||||
m_kbdc->input_buffer_full_callback().set(FUNC(fdc37c93x_device::irq_keyboard_w));
|
||||
m_kbdc->input_buffer_full_mouse_callback().set(FUNC(fdc37c93x_device::irq_mouse_w));
|
||||
m_kbdc->system_reset_callback().set(FUNC(fdc37c93x_device::kbdp20_gp20_reset_w));
|
||||
m_kbdc->gate_a20_callback().set(FUNC(fdc37c93x_device::kbdp21_gp25_gatea20_w));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user