The device_t available/poll union is now gone, mouse poll is now set using mouse_set_poll(), and mouse_curr is now also gone.

This commit is contained in:
OBattler
2025-02-13 00:23:35 +01:00
parent af476f957c
commit 4806519388
10 changed files with 33 additions and 44 deletions

View File

@@ -352,6 +352,8 @@ mouse_ps2_init(const device_t *info)
if (dev->port != NULL)
kbc_at_dev_reset(dev, 0);
mouse_set_poll(ps2_poll, dev);
/* Return our private data to the I/O layer. */
return dev;
}
@@ -397,7 +399,7 @@ const device_t mouse_ps2_device = {
.init = mouse_ps2_init,
.close = ps2_close,
.reset = NULL,
.poll = ps2_poll,
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = ps2_config