I want to use a Leonardo to emulate the functionality of a Makey Makey board. By this I mean that I want to hook up some switches/buttons to the Leonardo, press them and the computer thinks a specific key on the keyboard has been pressed.
So in my sketch I'll have to have something that functions as "if the button connected to pin D1 is pressed, make the computer print A".
Has anyone done this? Is it possible, and if so, are there any good tutorials on it?