pull/18/head
Jesse Vincent 9 years ago
parent e78b1bea6a
commit ca403359c4

@ -6,10 +6,6 @@
boolean key_was_pressed (byte keyState) {
return (! key_was_not_pressed(keyState));
}
boolean key_was_not_pressed (byte keyState) {
@ -18,23 +14,16 @@ boolean key_was_not_pressed (byte keyState) {
} else {
return true;
}
}
boolean key_is_pressed (byte keyState) {
if ( keyState & B00000001 && keyState & B00000010 ) {
return true;
} else {
return false;
}
}
boolean key_is_not_pressed (byte keyState) {
return !key_is_pressed(keyState);
}

Loading…
Cancel
Save