PS2Communication.h - PS2Communication library Copyright (c) 2009 Free Software Foundation. All right reserved. Rewritten for interrupt and ported for Spark Core and Particle.io devices like Photon and Electron by Andreas Rothenwänder (aka ScruffR) based on some non-interrupt library from pjrc.com (Paul Stoffregen)
This library provides the basic PS/2 communication framework for sending single byte "commands" and receiving data/responses of a PS/2 device. One example for communication between Spark Core and a PS/2 mouse is provided along with the library.
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA