barbeque / busmouse98-byou

A modified PS/2 or USB to PC-98 quadrature mouse converter
6 stars 0 forks source link

Very jittery #1

Open badass-boss opened 5 months ago

badass-boss commented 5 months ago

I tried using this PS2 to PC-98 mouse converter but for this purpose I used a Thinkpad trackpoint salvaged from a smashed keyboard. First of all, it uses the PS2 protocol just like every other trackpoint but it also has a reset pin so I did this hack in order to use it: collage-reset Unfortunately the pointer is very jittery on a real PC-98 and many times when you move the cursor it consistently stops or stops working completely. I saw an instruction to alter timing values but what am I supposed to change and to what values? Should the values be increased or decreased? Any other ideas to improve it?

barbeque commented 5 months ago

That's a neat idea! I'm not sure exactly what the jitter is coming from, it's possible the trackpoint does some filtering internally. This whole thing is a little bit of a hack since the mouse is reading quadrature internally, converting it to PS/2 messages, and then we're trying to "guess" it back to quadrature for the PC-98.

Try reducing the delayMicroseconds 150 and 175 values on lines 125 and 156 of the ino file - half should make a difference. If that's too twitchy you might want to raise it, everything was sort of hacked up for the one particular mouse I was trying to test which produced way too noisy of an output otherwise.