aboutsummaryrefslogtreecommitdiff
path: root/mousew16.c
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2022-04-18 22:13:00 +0200
committerJavier <dev.git@javispedro.com>2022-04-18 22:13:00 +0200
commitb9396bdeff4588762ab017cb3446910a2684b380 (patch)
treea43e4647125e52e02507127043b62bcb3f59c3c3 /mousew16.c
parent3da9d4d5eff694e7e91116a693f328c289fc82f6 (diff)
downloadvbados-b9396bdeff4588762ab017cb3446910a2684b380.tar.gz
vbados-b9396bdeff4588762ab017cb3446910a2684b380.zip
switch mouse driver to always use 1-byte packets from BIOS
Diffstat (limited to 'mousew16.c')
-rw-r--r--mousew16.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mousew16.c b/mousew16.c
index bebafc3..dc16833 100644
--- a/mousew16.c
+++ b/mousew16.c
@@ -171,7 +171,7 @@ static void FAR int33_mouse_callback(uint16_t events, uint16_t buttons, int16_t
dlog_endline();
#endif
- if (events & INT33_EVENT_MASK_LEFT_BUTTON_PRESSED) status |= SF_B1_DOWN;
+ if (events & INT33_EVENT_MASK_LEFT_BUTTON_PRESSED) status |= SF_B1_DOWN;
if (events & INT33_EVENT_MASK_LEFT_BUTTON_RELEASED) status |= SF_B1_UP;
if (events & INT33_EVENT_MASK_RIGHT_BUTTON_PRESSED) status |= SF_B2_DOWN;
if (events & INT33_EVENT_MASK_RIGHT_BUTTON_RELEASED) status |= SF_B2_UP;