Don't move the mouse leftwards until I2C communication is properly implemented for the UHK PCBs.

This commit is contained in:
László Monda
2016-09-22 22:35:36 +02:00
parent 48aa999e08
commit 0fdf4fd411
+1 -1
View File
@@ -54,7 +54,7 @@ static volatile usb_status_t UsbMouseAction(void)
I2C_MasterTransferBlocking(EXAMPLE_I2C_MASTER_BASEADDR, &masterXfer); I2C_MasterTransferBlocking(EXAMPLE_I2C_MASTER_BASEADDR, &masterXfer);
UsbMouseReport.buttons = 0; UsbMouseReport.buttons = 0;
UsbMouseReport.x = i2cBuffer[1] - i2cBuffer[0]; UsbMouseReport.x = 0;//i2cBuffer[1] - i2cBuffer[0];
UsbMouseReport.y = 0; UsbMouseReport.y = 0;
UsbMouseReport.wheelX = 0; UsbMouseReport.wheelX = 0;
UsbMouseReport.wheelY = 0; UsbMouseReport.wheelY = 0;