Open Mustaballer opened 1 year ago
Looks like this might be window-manager specific; see:
https://bbs.archlinux.org/viewtopic.php?id=240001
Edit: as a workaround we can always define a DEFAULT_DOUBLE_CLICK_DISTANCE_PIXELS and DEFAULT_DOUBLE_CLICK_INTERVAL_SECONDS
We are currently using a modified version of pynput at https://github.com/abrichr/pynput that supports distinguishing between organic and injected input. Last time I checked this was not supported on Linux, but strictly speaking it's not absolutely necessary for our purpose.
@Timothyxxx regarding https://github.com/xlang-ai/OSWorld/issues/30
The following functions,
get_double_click_interval_seconds
andget_double_click_distance_pixels
inutils.py
only work for Windows and Mac platforms. The goal is to add Linux support as well.