diff options
author | Javier <dev.git@javispedro.com> | 2022-04-18 21:03:45 +0200 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2022-04-18 21:03:45 +0200 |
commit | 513aec2aa20fdfcd862acc4189aa3226c876a051 (patch) | |
tree | 740c366187aba9824140a568aa928bf28d55829a /mousetsr.c | |
parent | dc5d6457e65e78ad803d1303ace1c0ebec65f3cc (diff) | |
download | vbados-513aec2aa20fdfcd862acc4189aa3226c876a051.tar.gz vbados-513aec2aa20fdfcd862acc4189aa3226c876a051.zip |
in w16driver, change mouse speed for improved dosemu2 compatibility
See discussion in
https://github.com/dosemu2/dosemu2/issues/1552#issuecomment-1101657149
Diffstat (limited to 'mousetsr.c')
-rw-r--r-- | mousetsr.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1263,13 +1263,14 @@ static void int33_handler(union INTPACK r) _fmemcpy(&data, MK_FP(r.x.es, r.x.dx), sizeof(TSRDATA)); break; case INT33_SET_MOUSE_SENSITIVITY: - dlog_print("Mouse set speed x="); + dlog_print("Mouse set sensitivity x="); dlog_printd(r.x.bx); dlog_print(" y="); dlog_printd(r.x.cx); dlog_print(" threshold="); dlog_printd(r.x.dx); dlog_endline(); + // TODO According to cutemouse, sensitivity != mickeysPerLine data.mickeysPerLine.x = r.x.bx; data.mickeysPerLine.y = r.x.cx; data.doubleSpeedThreshold = r.x.dx; |