Right now ams_read() uses cv_wait() to wait for new data to arrive on the mouse device. This means that when you run `cat /dev/ams0', it cannot be interrupted directly. After you press ^C, you first need to move the mouse before cat will quit. Make this function use cv_wait_sig(), which allows it to be interrupted directly. Reviewed by: nwhitehorn |
||
---|---|---|
.. | ||
adb_bus.c | ||
adb_hb_if.m | ||
adb_if.m | ||
adb_kbd.c | ||
adb_mouse.c | ||
adb.h | ||
adbvar.h |