src/device

This commit is contained in:
Jasmine Iwanek
2022-03-13 09:28:28 -04:00
parent a52f0cca79
commit a7edaf0608
21 changed files with 1047 additions and 781 deletions

View File

@@ -765,30 +765,43 @@ static const device_config_t ms_config[] = {
};
const device_t mouse_logibus_device = {
"Logitech/Microsoft Bus Mouse",
"logibus",
DEVICE_ISA,
MOUSE_TYPE_LOGIBUS,
bm_init, bm_close, NULL,
{ .poll = bm_poll }, NULL, NULL,
lt_config
.name = "Logitech/Microsoft Bus Mouse",
.internal_name = "logibus",
.flags = DEVICE_ISA,
.local = MOUSE_TYPE_LOGIBUS,
.init = bm_init,
.close = bm_close,
.reset = NULL,
{ .poll = bm_poll },
.speed_changed = NULL,
.force_redraw = NULL,
.config = lt_config
};
const device_t mouse_logibus_onboard_device = {
"Logitech Bus Mouse (On-Board)",
"logibus_onboard",
DEVICE_ISA,
MOUSE_TYPE_LOGIBUS | MOUSE_TYPE_ONBOARD,
bm_init, bm_close, NULL,
{ .poll = bm_poll }, NULL, NULL
.name = "Logitech Bus Mouse (On-Board)",
.internal_name = "logibus_onboard",
.flags = DEVICE_ISA,
.local = MOUSE_TYPE_LOGIBUS | MOUSE_TYPE_ONBOARD,
.init = bm_init,
.close = bm_close,
.reset = NULL,
{ .poll = bm_poll },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};
const device_t mouse_msinport_device = {
"Microsoft Bus Mouse (InPort)",
"msbus",
DEVICE_ISA,
MOUSE_TYPE_INPORT,
bm_init, bm_close, NULL,
{ .poll = bm_poll }, NULL, NULL,
ms_config
.name = "Microsoft Bus Mouse (InPort)",
.internal_name = "msbus",
.flags = DEVICE_ISA,
.local = MOUSE_TYPE_INPORT,
.init = bm_init,
.close = bm_close,
.reset = NULL,
{ .poll = bm_poll },
.speed_changed = NULL,
.force_redraw = NULL,
.config = ms_config
};