Constant input as 1 output and no input as 1 output.

I am working on my first project and I am curious if it is even feasible. I bought a Makey Makey and I am using the Auduino IDE to customize my inputs. I bought a pressure mat that I can get to send a constant input/output, but I would like to set it up so that when you step on the mat it only sends 1 key to the PC and when you step off it send different key. Any help would be greatly appreciated.

I can't help you with the computer interface stuff, but let's start with this -

What happens when you run [u]Digital Read Serial Example[/u]? Can you read the state of the mat?

Then, you can you write a little program that turns-on the pin-13 LED when you step on the mat, and turns it off when you step-off? (Hint - That's going to require an [u]if-statement[/u].)

Now add a little more with a delay so you blink the LED once when you step on the mat.

Now, you need to add a variable so you can store the old-state while reading the current-state. And you need to add a little more logic to your if-statement so you can compare the old-state to the current and take some action when you step-on or step-off the mat.

Use the serial monitor to test & dubug your basic connections & logic before trying to simulate the keyboard.