Closed GoogleCodeExporter closed 9 years ago
Original comment by mdevaev@gmail.com
on 26 Jan 2010 at 8:39
Original comment by mdevaev@gmail.com
on 26 Jan 2010 at 8:42
Базовый код для проверки:
------------------------
In [1]: import Xlib, Xlib.display
In [2]: Xlib.display.Display().screen().root.query_pointer()._data
Out[2]:
{'child': <Xlib.display.Window 0x01d88632>,
'mask': 0,
'root': <Xlib.display.Window 0x00000106>,
'root_x': 599,
'root_y': 178,
'same_screen': 1,
'sequence_number': 6,
'win_x': 599,
'win_y': 178}
------------------------
Необходимое значение статуса клавиши
мышки содержит переменная mask.
Original comment by mdevaev@gmail.com
on 1 Feb 2010 at 2:40
Original comment by mdevaev@gmail.com
on 2 Feb 2010 at 3:08
Original issue reported on code.google.com by
mdevaev@gmail.com
on 21 Jan 2010 at 1:00