Added in key mapping and key connections.

I fixed the first variable in buildUpFlapPressure function.
I also added in the code for flapping up.