Skip to content

oliverschmidt/mouse-interface

Repository files navigation

Mouse Interface

This project is based on A2Pico.

With this firmware, the A2Pico emulates a Mouse Interface that allows to connect any USB mouse.

Usage

Both left and right USB mouse buttons are mapped to the single AppleMouse II button. The middle USB mouse button is is mapped to a (normally non-existent) second Apple II mouse button.

Some adapter is required to connect the USB-A plug of a USB mouse to the the Micro USB socket of the A2Pico:

  • For a wired USB mouse, the External USB Port for A2Pico is a nice solution.
  • For a wireless USB mouse, search for "Micro USB OTG" and choose a small, one-piece model into which you can plug the USB mouse receiver dongle directly.

Please ensure the A2Pico USB Pwr is set to on when using this firmware!

Details

The Mouse Interface emulation uses the unmodified 6502 firmware of the original Mouse Interface. Therefore it is supposed to work with every Apple II software the original Mouse Interface works with.

The original Mouse Interface synchronizes its vertical blanking interrupt with the vertical blanking interval of the original Apple II 60Hz video circuit. Please note that the Mouse Interface emulation does not do this. What does this mean?

  • GUI programs with a mouse cursor like MousePaint, Apple II Desktop or GEOS work as expected.
  • Text programs with a mouse cursor like AppleWorks, ProTERM or Contiki work as expected.
  • Games like Shufflepuck Cafe may suffer from rendering problems.

If the original Apple II video circuit does not run at 60Hz or is bypassed by a VGA or HDMI card, then vertical blanking synchonization will usually not work with the original Mouse Interface either.