DEC Mouse replacement

Jan-Benedict Glaw jbglaw at lug-owl.de
Fri Jun 22 13:12:40 CDT 2018


On Fri, 2018-05-04 08:13:05 +0100, mark--- via cctalk <cctalk at classiccmp.org> wrote:
> The Linux Kernel has support for DEC VSXXX mouse (as well as LK keyboards), the opposite of what you are interested in.
> So the conversion from DEC protocol is well documented.
> It would be fairly straightforward with a microcontroller to implement the reverse.
> 
> See: https://code.woboq.org/linux/linux/drivers/input/mouse/vsxxxaa.c.html

I think that it should be quite straight-forward to use an Arduino to
mimic a VSXXX-AA mouse. Some time ago, somebody even contacted me with
exactly this in mind, and I remember he found public code already
available to implement exactly what you're looking for.

 *searching*

https://bitbucket.org/tinyscsi/decmouse/src/fc73c57dce5926ac1ab9f0958ba82cf1e8cbe88e/DECMouse.ino?at=master&fileviewer=file-view-default

Maybe this'll (at least) help you implementing something with an
Arduino, or even solve your issue completely.

  Reading the source, the PS/2 mouse is attached to two GPIO pins in
that sketch (#5 for data, #6 for clock), and the VAXstation will be
connected to Arduino's serial port. (Keep in mind that you'll want do
have a level shifter in between, some MAX232 variant.)

MfG, JBG

-- 


More information about the cctalk mailing list