X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=protocol%2Fps2_mouse.c;h=4702f12c4042c20f5176a41521d0f422ff3b67d8;hb=54a06c2520f6de4b33558b2203d6706a988d291c;hp=ea629655f723b62ec78a10ac6c72d7caf78b5d10;hpb=c6abcb6d893f6ef843ed98be3d45bd804cfe295a;p=max%2Ftmk_keyboard.git diff --git a/protocol/ps2_mouse.c b/protocol/ps2_mouse.c index ea629655..4702f12c 100644 --- a/protocol/ps2_mouse.c +++ b/protocol/ps2_mouse.c @@ -47,20 +47,15 @@ uint8_t ps2_mouse_init(void) { phex(rcv); phex(ps2_error); print("\n"); // read completion code of BAT - rcv = ps2_host_recv(); + rcv = ps2_host_recv_response(); print("ps2_mouse_init: read BAT: "); phex(rcv); phex(ps2_error); print("\n"); // read Device ID - rcv = ps2_host_recv(); + rcv = ps2_host_recv_response(); print("ps2_mouse_init: read DevID: "); phex(rcv); phex(ps2_error); print("\n"); - // send Enable Data Reporting - rcv = ps2_host_send(0xF4); - print("ps2_mouse_init: send 0xF4: "); - phex(rcv); phex(ps2_error); print("\n"); - // send Set Remote mode rcv = ps2_host_send(0xF0); print("ps2_mouse_init: send 0xF0: ");