X-Git-Url: http://git.joshuawise.com/fpgaboy.git/blobdiff_plain/b86e6b44ef3571e60409baabf9b5966e09c93ef4..77ab69d7bb0902e6ebf0994159ed2205f8413e34:/PS2Button.v diff --git a/PS2Button.v b/PS2Button.v index 571af43..169346c 100644 --- a/PS2Button.v +++ b/PS2Button.v @@ -14,7 +14,7 @@ module PS2Button( always @ (negedge inclk) begin if(bitcount == 10) begin bitcount <= 0; - if(parity == (^ key)) begin + if(parity != (^ key)) begin if(keyarrow) begin keyarrow <= 0; case(key)