diff options
| author | Javier <dev.git@javispedro.com> | 2026-09-27 19:09:46 +0200 |
|---|---|---|
| committer | Javier <dev.git@javispedro.com> | 2026-09-27 19:09:46 +0200 |
| commit | 87e7637f8d242d3e8e06d0ba76ecf86bbd8af3c7 (patch) | |
| tree | cf5939968ffb6fc57de33b355c36936c8157fcb1 /mousmain.c | |
| parent | b73c038b18e2e838366f389d81038344b917eb56 (diff) | |
| download | vbados-87e7637f8d242d3e8e06d0ba76ecf86bbd8af3c7.tar.gz vbados-87e7637f8d242d3e8e06d0ba76ecf86bbd8af3c7.zip | |
properly implement msmouse-like sensitivity, separate from speed
Diffstat (limited to 'mousmain.c')
| -rw-r--r-- | mousmain.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -354,8 +354,8 @@ static int configure_driver_serial(LPTSRDATA data, int port, unsigned iobase) serial_set_modem_control(iobase, SERIAL_MCR_DTR | SERIAL_MCR_RTS); dputs("DTR ON, RTS ON"); - // Wait up to 10 ticks (550ms) for the mouse to send something we understand - for (delay = 10; delay > 0; delay--) { + // Wait up to 11 ticks (~600ms) for the mouse to send something we understand + for (delay = 11; delay > 0; delay--) { while (serial_data_ready(iobase)) { uint8_t car = serial_read_data(iobase); @@ -429,7 +429,7 @@ static int configure_driver_serial(LPTSRDATA data, int port, unsigned iobase) } #endif -/// Auto-configure the TSR. Try to detect which mouse we have connected and enable all possible integrations. +/// Configure the TSR. Try to detect which mouse we have connected and enable all possible integrations. static int configure_driver(LPTSRDATA data, unsigned num_ports, int ports[]) { int errs[MAX_PORTS+1] = {0}; |
