Looks like the cheapest I can get a Teensy is $19.50 (+ shipping?) And that is for the v3.2 Or am I not seeing a much cheaper option?
I can get a Raspberry Pi Zero for $9.55 shipped.
In any case, somebody is going to be giving me an old Raspberry Pi to play with.
Don't get me wrong, Raspberry Pi boards are fun. It just seems wasteful to run a bunch of OS to emulate a serial mouse. 😒
Looks like Arduino Nanos are the most inexpensive option for AVR micro dev boards. It should be fairly straightforward to move from Matze' work to that, and the uC itself will run < 5 USD.
It also seems like even the current firmware for Matze's PS2 converter, which is in assembler btw, has issues with a lot of KVMs.
I'm not good with assembler, but I might be able to muddle my way through it, but the USB protocol is going to be a lot different then the PS/2 protocol.
Also not sure if 16Mhz is going to be fast enough to do the conversion without lag.
Here is another thought. Would it be possible to use a modified version of CuteMouse to support higher baud rates and thus better tracking with a converter? I'm guessing that it would be a pretty trivial driver change to do so.
Edit: Looked at the CuteMouse source. Looks like it only supports 1200 baud even with Logitech mice which support 2400 baud.
Would be a sweet change to have the converter run at say... 19,200 baud or higher for way better resolution with a USB mouse. For that matter, going even higher couldn't hurt anything could it?