Current state of the keyboard and mouse work.

This commit is contained in:
OBattler
2023-04-05 22:13:16 +02:00
parent a41935301b
commit 0d7997f802
2 changed files with 452 additions and 570 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -294,7 +294,11 @@ ps2_poll(int x, int y, int z, int b, double abs_x, double abs_y, void *priv)
dev->x += x;
dev->y -= y;
dev->z -= z;
#if 0
if ((dev->mode == MODE_STREAM) && (dev->flags & FLAG_ENABLED) && (keyboard_at_mouse_pos() < 13)) {
#else
if ((dev->mode == MODE_STREAM) && (keyboard_at_mouse_pos() < 13)) {
#endif
dev->b = b;
ps2_report_coordinates(dev, 0);