This commit is contained in:
dekunukem
2021-12-11 23:09:03 +00:00
parent 35149ca8ff
commit 908bf02d6c
2 changed files with 7 additions and 0 deletions

View File

@@ -394,6 +394,7 @@ uint8_t ps2mouse_send_update(ps2_outgoing_buf* pbuf)
{
for (int i = 0; i < pbuf->size; ++i)
{
// return error if inhibited or interrupted while transmitting
if(ps2mouse_get_bus_status() != PS2_BUS_IDLE || ps2mouse_write_nowait(pbuf->data[i]) != 0)
return 1;
}

View File

@@ -61,3 +61,9 @@ sudo nano /etc/rc.local
cd /home/pi/usb4vc; sudo python3 usb4vc_main.py &
kill -SIGINT pid
ps2 mouse todo:
add remote mode data report
add scale/resolution change
test remote/wrap mode