X-Git-Url: http://git.joshuawise.com/fpgaboy.git/blobdiff_plain/bc75fc673a7453cb5b9077d70695d3525d13366d..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)