X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=converter%2Fps2_usb%2Fmatrix.c;h=45cf2a4a90fa87e2305bf5622e26a4d2f6bba5b0;hb=a3d96d3aa96318d339a67de1085e0ae495d57c84;hp=45344c0f759c20aa3491bd7972bce228efddbe6b;hpb=bc5b64d83259715667356770965a33aa620a8030;p=max%2Ftmk_keyboard.git diff --git a/converter/ps2_usb/matrix.c b/converter/ps2_usb/matrix.c index 45344c0f..45cf2a4a 100644 --- a/converter/ps2_usb/matrix.c +++ b/converter/ps2_usb/matrix.c @@ -17,8 +17,6 @@ along with this program. If not, see . #include #include -#include -#include #include "action.h" #include "print.h" #include "util.h" @@ -189,6 +187,7 @@ uint8_t matrix_scan(void) } uint8_t code = ps2_host_recv(); + if (code) xprintf("%i\r\n", code); if (!ps2_error) { switch (state) { case INIT: