VOGONS


First post, by Armacadia

User metadata
Rank Newbie
Rank
Newbie

Hello, my first post here 😀
I've been looking through the contents of all those shoeboxes I had and found my all beaten up, miserably looking, but somehow still working NetScroll 120 (the original 2007 one, I believe - it doesn't have the serial tag sticker on it anymore but that time period sounds about the last sensible to release such a thing).
I've plugged it in my Intel D865GLC PC (Pentium 4 HT, 530 to be precise) that also has a PS/2 keyboard connected to it, which is a very generic Chicony keyboard.
Then, I have been looking around in the Device Manager on XP and noticed the "advanced settings" tab on the mouse. (I've been using PS/2 mice up until ~2021 and never noticed that being there before, huh - perhaps because the tab's actually gone in Windows 7.)
There's the "sample rate" setting that's set to 100 by default but has an option for 200. I thought, why not make it feel better, have set it to 200, rebooted, all seems to be smooth and nice. Tscherwitschke's Mouse Rate Tester shows around 200 Hz as expected.
I launch Half-Life and realize that as long as I'm actively moving my mouse, my keyboard key presses register in the game with an extreme delay - so much you could say it's unplayable.
Some more testing, if I move the mouse very fast in various directions while also pressing keys (two at once are enough), Windows beeps the PC speaker, several times in rapid succession. Like how it does when I press "too many" keys at once (for the matter, I don't understand how this works either - for example, I can hold down asdfh at once and have the last key repeat, but asdfg will make it beep instead; likewise, I can hold ftg but not gyh, etc.)

What is happening here? I thought PS/2 keyboard and mouse ports have completely separate data lines? Or does it have something with Windows itself? I've also tried this on Win7, where, despite there being no GUI for it, you still can change the rate setting via manual registry editing - it works just the same way. At the default value of 100 Hz there seems no such issue (or maybe there is, but it's not as severe for me to notice).

Reply 1 of 5, by vstrakh

User metadata
Rank Member
Rank
Member

PS/2 devices are not polled or sampled, they push their data and on each byte it triggers an interrupt. Higher interrupt rates - higher congestion.
But I'd imagine keyboard's IRQ1 would have higher priority than mouse's IRQ12, so the issue should boil down to slow handling of mouse interrupts, or interrupts in general. Or a bad/suboptimal mouse driver, although I can't advise on what to check, it was way too long ago...

Reply 2 of 5, by animacrxss

User metadata
Rank Newbie
Rank
Newbie

I think I saw you somewhere.
Have a good evening!

Reply 3 of 5, by LSS10999

User metadata
Rank Oldbie
Rank
Oldbie
Armacadia wrote on 2026-03-14, 14:00:

Some more testing, if I move the mouse very fast in various directions while also pressing keys (two at once are enough), Windows beeps the PC speaker, several times in rapid succession. Like how it does when I press "too many" keys at once (for the matter, I don't understand how this works either - for example, I can hold down asdfh at once and have the last key repeat, but asdfg will make it beep instead; likewise, I can hold ftg but not gyh, etc.)

I think this happens because of ghosting. Some key combinations are not possible on generic keyboards, unless they're NKRO (N-key rollover) capable. PS/2 or USB does not matter.

A notable example from my experience would be trying to press both UP and RIGHT while holding SPACE for firing in some games. On generic, non-NKRO keyboards, I would be moving only towards the first direction key I held, with the second direction key causing the system to beep.

Reply 4 of 5, by NeoG_

User metadata
Rank Oldbie
Rank
Oldbie

So, I found out this was happening on my windows xp box while playing doom 3, the character would keep moving sometimes after I let go of the movement keys. Turns out the keyboard would not register a keydown/keyup event if the mouse was actively moving - or at least it would be delayed until the mouse stopped. I could easily replicate it in notepad by holding down a key so it repeatedly types a letter, moving the mouse would stop new letters from being typed.

It went away after I changed the input buffer length in the mouse advanced settings from the default 100 up to the maximum of 300. The PS/2 mouse port is an extension of the keyboard controller so it’s possible for there to be some interaction between the two. My guess is the higher polling rates fill up the packet buffer in the driver and the keyboard has to wait.

Interestingly on my older 98SE box, it works at 200hz without any extra adjustments.

98/DOS Rig: BabyAT AladdinV, K6-2+/550, V3 2000, 128MB PC100, 20GB HDD, 128GB SD2IDE, SB Live!, SB16-SCSI, PicoGUS, WP32 McCake, iNFRA CD, ZIP100
XP Rig: Lian Li PC-10 ATX, Gigabyte X38-DQ6, Core2Duo E6850, ATi HD5870, 2GB DDR2, 2TB HDD, X-Fi XtremeGamer

Reply 5 of 5, by Armacadia

User metadata
Rank Newbie
Rank
Newbie
vstrakh wrote on 2026-03-15, 10:25:

Or a bad/suboptimal mouse driver, although I can't advise on what to check, it was way too long ago...

I don't believe this mouse came with any special driver, or needed one at all. I've got it without its original packaging; I did try installing ioCentre, which adds its own "filter" driver, in turn allowing to remap the wheel click function (as long as the software is running) and seemingly does nothing else. (Also having googled around a bit more, seems like those were still being released well into 10s, specifically the PS/2 ones as there's also the USB variant. Interesting.)

LSS10999 wrote on Today, 06:37:

I think this happens because of ghosting. Some key combinations are not possible on generic keyboards, unless they're NKRO (N-key rollover) capable. PS/2 or USB does not matter.

Ah, didn't know this phenomenon has a proper name. Having taken apart quite a few keyboard over the years, I somehow never thought of that.

NeoG_ wrote on Today, 10:36:

It went away after I changed the input buffer length in the mouse advanced settings from the default 100 up to the maximum of 300. My guess is the higher polling rates fill up the packet buffer in the driver and the keyboard has to wait.

I did try this and for my case I see no difference at all, it must be something else. Now that I think about it, the PS/2 keyboard alone (three different keyboards), USB mouse connected instead, never felt particularly responsive on this system, which I used to discount on not-100%-stable framerates in games (that still were reasonably high), then on suboptimal input systems in game engines, then on my own "brain lag", until I wasn't sure about anything anymore. Could as well be the DVI to VGA converter lagging it further (I don't use it anymore, direct VGA to VGA now), though I think that would be too minimal to be noticeable at all, or pretty much anything else. I think I now can see the mouse being kind of erratic at 100 Hz too when I shake it too much, just with a way higher threshold (and I'm not sure it's not the sensor malfunctioning).

animacrxss wrote on Yesterday, 13:12:

I think I saw you somewhere.
Have a good evening!

Uh... Hi?