1
0
forked from drath/libratbag

etekcity: reduce the latency between each profile retrieval

Looks like 10 ms is enough to not have the mouse getting lost.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
This commit is contained in:
Benjamin Tissoires
2015-08-27 14:38:42 -04:00
parent 07a0b0961b
commit 07e231d705

View File

@@ -288,7 +288,7 @@ etekcity_read_profile(struct ratbag_profile *profile, unsigned int index)
buf, ETEKCITY_REPORT_SIZE_PROFILE,
HID_FEATURE_REPORT, HID_REQ_GET_REPORT);
msleep(100);
msleep(10);
if (rc < 50)
return;