]> Joshua Wise's Git repositories - fpgaboy.git/blobdiff - PS2Button.v
Semi-working, but prone to anus, keyboard driver
[fpgaboy.git] / PS2Button.v
index 571af435a1b2adcf864d02fa2898dbd0422458b6..169346c73335883fede324d1afb2bd4404833e84 100644 (file)
@@ -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)
This page took 0.021647 seconds and 4 git commands to generate.