Pygame实现记录事件到文本中
運行,執行一些操作,點擊按鈕或者按下鍵盤。
打開同文件夾下的record.txt文件:
<Event(17-VideoExpose {})>/n<Event(16-VideoResize {'size': (600, 400), 'w': 600, 'h': 400})>/n<Event(1-ActiveEvent {'gain': 0, 'state': 1})>/n<Event(4-MouseMotion {'pos': (327, 186), 'rel': (328, 187), 'buttons': (0, 0, 0)})>/n<Event(1-ActiveEvent {'gain': 1, 'state': 1})>/n<Event(4-MouseMotion {'pos': (338, 214), 'rel': (11, 28), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (338, 213), 'rel': (0, -1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (338, 209), 'rel': (0, -4), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (338, 204), 'rel': (0, -5), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (338, 197), 'rel': (0, -7), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (337, 192), 'rel': (-1, -5), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (337, 186), 'rel': (0, -6), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (337, 179), 'rel': (0, -7), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (337, 174), 'rel': (0, -5), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (336, 168), 'rel': (-1, -6), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (336, 165), 'rel': (0, -3), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (334, 162), 'rel': (-2, -3), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (333, 161), 'rel': (-1, -1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (330, 160), 'rel': (-3, -1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (328, 160), 'rel': (-2, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (327, 160), 'rel': (-1, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (325, 160), 'rel': (-2, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (324, 160), 'rel': (-1, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (323, 160), 'rel': (-1, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (322, 160), 'rel': (-1, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (321, 160), 'rel': (-1, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (320, 160), 'rel': (-1, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (319, 160), 'rel': (-1, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (318, 160), 'rel': (-1, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (316, 160), 'rel': (-2, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (315, 160), 'rel': (-1, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (314, 160), 'rel': (-1, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (312, 160), 'rel': (-2, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (309, 159), 'rel': (-3, -1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (306, 157), 'rel': (-3, -2), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (303, 156), 'rel': (-3, -1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (298, 154), 'rel': (-5, -2), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (294, 152), 'rel': (-4, -2), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (286, 149), 'rel': (-8, -3), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (278, 146), 'rel': (-8, -3), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (270, 142), 'rel': (-8, -4), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (263, 139), 'rel': (-7, -3), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (256, 136), 'rel': (-7, -3), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (247, 133), 'rel': (-9, -3), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (239, 130), 'rel': (-8, -3), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (230, 126), 'rel': (-9, -4), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (223, 123), 'rel': (-7, -3), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (217, 120), 'rel': (-6, -3), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (212, 117), 'rel': (-5, -3), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (208, 115), 'rel': (-4, -2), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (207, 112), 'rel': (-1, -3), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (207, 110), 'rel': (0, -2), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (208, 108), 'rel': (1, -2), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (210, 107), 'rel': (2, -1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (215, 107), 'rel': (5, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (219, 109), 'rel': (4, 2), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (224, 110), 'rel': (5, 1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (225, 110), 'rel': (1, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (226, 110), 'rel': (1, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (228, 110), 'rel': (2, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (231, 111), 'rel': (3, 1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (234, 111), 'rel': (3, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (240, 112), 'rel': (6, 1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (245, 113), 'rel': (5, 1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (247, 113), 'rel': (2, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (248, 113), 'rel': (1, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (249, 113), 'rel': (1, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (248, 113), 'rel': (-1, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (247, 113), 'rel': (-1, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (244, 113), 'rel': (-3, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (243, 112), 'rel': (-1, -1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (240, 111), 'rel': (-3, -1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (239, 111), 'rel': (-1, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (238, 110), 'rel': (-1, -1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (238, 109), 'rel': (0, -1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (238, 108), 'rel': (0, -1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (237, 107), 'rel': (-1, -1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (236, 105), 'rel': (-1, -2), 'buttons': (0, 0, 0)})>/n<Event(5-MouseButtonDown {'pos': (236, 105), 'button': 1})>/n<Event(6-MouseButtonUp {'pos': (236, 105), 'button': 1})>/n<Event(4-MouseMotion {'pos': (237, 106), 'rel': (1, 1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (238, 108), 'rel': (1, 2), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (240, 111), 'rel': (2, 3), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (242, 116), 'rel': (2, 5), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (243, 123), 'rel': (1, 7), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (245, 131), 'rel': (2, 8), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (248, 140), 'rel': (3, 9), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (253, 149), 'rel': (5, 9), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (257, 158), 'rel': (4, 9), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (261, 167), 'rel': (4, 9), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (266, 176), 'rel': (5, 9), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (270, 185), 'rel': (4, 9), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (274, 192), 'rel': (4, 7), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (278, 198), 'rel': (4, 6), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (281, 205), 'rel': (3, 7), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (283, 209), 'rel': (2, 4), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (285, 211), 'rel': (2, 2), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (286, 213), 'rel': (1, 2), 'buttons': (0, 0, 0)})>/n<Event(5-MouseButtonDown {'pos': (286, 213), 'button': 1})>/n<Event(4-MouseMotion {'pos': (288, 212), 'rel': (2, -1), 'buttons': (1, 0, 0)})>/n<Event(4-MouseMotion {'pos': (289, 207), 'rel': (1, -5), 'buttons': (1, 0, 0)})>/n<Event(6-MouseButtonUp {'pos': (289, 207), 'button': 1})>/n<Event(4-MouseMotion {'pos': (294, 197), 'rel': (5, -10), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (296, 186), 'rel': (2, -11), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (301, 173), 'rel': (5, -13), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (305, 159), 'rel': (4, -14), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (312, 144), 'rel': (7, -15), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (316, 131), 'rel': (4, -13), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (318, 119), 'rel': (2, -12), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (322, 108), 'rel': (4, -11), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (324, 98), 'rel': (2, -10), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (325, 90), 'rel': (1, -8), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (325, 84), 'rel': (0, -6), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (325, 80), 'rel': (0, -4), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (325, 77), 'rel': (0, -3), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (325, 76), 'rel': (0, -1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (324, 76), 'rel': (-1, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (323, 75), 'rel': (-1, -1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (322, 74), 'rel': (-1, -1), 'buttons': (0, 0, 0)})>/n<Event(5-MouseButtonDown {'pos': (322, 74), 'button': 1})>/n<Event(4-MouseMotion {'pos': (321, 74), 'rel': (-1, 0), 'buttons': (1, 0, 0)})>/n<Event(4-MouseMotion {'pos': (318, 74), 'rel': (-3, 0), 'buttons': (1, 0, 0)})>/n<Event(4-MouseMotion {'pos': (315, 74), 'rel': (-3, 0), 'buttons': (1, 0, 0)})>/n<Event(4-MouseMotion {'pos': (310, 74), 'rel': (-5, 0), 'buttons': (1, 0, 0)})>/n<Event(4-MouseMotion {'pos': (303, 74), 'rel': (-7, 0), 'buttons': (1, 0, 0)})>/n<Event(4-MouseMotion {'pos': (293, 74), 'rel': (-10, 0), 'buttons': (1, 0, 0)})>/n<Event(4-MouseMotion {'pos': (282, 74), 'rel': (-11, 0), 'buttons': (1, 0, 0)})>/n<Event(4-MouseMotion {'pos': (269, 74), 'rel': (-13, 0), 'buttons': (1, 0, 0)})>/n<Event(4-MouseMotion {'pos': (252, 73), 'rel': (-17, -1), 'buttons': (1, 0, 0)})>/n<Event(6-MouseButtonUp {'pos': (252, 73), 'button': 1})>/n<Event(4-MouseMotion {'pos': (238, 71), 'rel': (-14, -2), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (221, 68), 'rel': (-17, -3), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (202, 66), 'rel': (-19, -2), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (186, 62), 'rel': (-16, -4), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (170, 58), 'rel': (-16, -4), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (156, 56), 'rel': (-14, -2), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (143, 54), 'rel': (-13, -2), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (135, 53), 'rel': (-8, -1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (129, 52), 'rel': (-6, -1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (127, 52), 'rel': (-2, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (126, 52), 'rel': (-1, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (125, 52), 'rel': (-1, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (124, 51), 'rel': (-1, -1), 'buttons': (0, 0, 0)})>/n<Event(5-MouseButtonDown {'pos': (124, 51), 'button': 1})>/n<Event(4-MouseMotion {'pos': (123, 50), 'rel': (-1, -1), 'buttons': (1, 0, 0)})>/n<Event(4-MouseMotion {'pos': (122, 50), 'rel': (-1, 0), 'buttons': (1, 0, 0)})>/n<Event(4-MouseMotion {'pos': (121, 52), 'rel': (-1, 2), 'buttons': (1, 0, 0)})>/n<Event(4-MouseMotion {'pos': (120, 53), 'rel': (-1, 1), 'buttons': (1, 0, 0)})>/n<Event(4-MouseMotion {'pos': (119, 54), 'rel': (-1, 1), 'buttons': (1, 0, 0)})>/n<Event(4-MouseMotion {'pos': (118, 55), 'rel': (-1, 1), 'buttons': (1, 0, 0)})>/n<Event(6-MouseButtonUp {'pos': (118, 55), 'button': 1})>/n<Event(4-MouseMotion {'pos': (117, 58), 'rel': (-1, 3), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (115, 60), 'rel': (-2, 2), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (114, 62), 'rel': (-1, 2), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (113, 65), 'rel': (-1, 3), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (111, 68), 'rel': (-2, 3), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (111, 71), 'rel': (0, 3), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (110, 75), 'rel': (-1, 4), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (108, 81), 'rel': (-2, 6), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (107, 88), 'rel': (-1, 7), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (107, 95), 'rel': (0, 7), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (107, 102), 'rel': (0, 7), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (108, 112), 'rel': (1, 10), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (111, 121), 'rel': (3, 9), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (114, 129), 'rel': (3, 8), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (117, 136), 'rel': (3, 7), 'buttons': (0, 0, 0)})>/n<Event(5-MouseButtonDown {'pos': (117, 136), 'button': 1})>/n<Event(4-MouseMotion {'pos': (120, 142), 'rel': (3, 6), 'buttons': (1, 0, 0)})>/n<Event(4-MouseMotion {'pos': (122, 146), 'rel': (2, 4), 'buttons': (1, 0, 0)})>/n<Event(4-MouseMotion {'pos': (124, 148), 'rel': (2, 2), 'buttons': (1, 0, 0)})>/n<Event(4-MouseMotion {'pos': (125, 150), 'rel': (1, 2), 'buttons': (1, 0, 0)})>/n<Event(4-MouseMotion {'pos': (126, 152), 'rel': (1, 2), 'buttons': (1, 0, 0)})>/n<Event(4-MouseMotion {'pos': (127, 153), 'rel': (1, 1), 'buttons': (1, 0, 0)})>/n<Event(4-MouseMotion {'pos': (128, 155), 'rel': (1, 2), 'buttons': (1, 0, 0)})>/n<Event(4-MouseMotion {'pos': (130, 156), 'rel': (2, 1), 'buttons': (1, 0, 0)})>/n<Event(4-MouseMotion {'pos': (133, 159), 'rel': (3, 3), 'buttons': (1, 0, 0)})>/n<Event(4-MouseMotion {'pos': (139, 162), 'rel': (6, 3), 'buttons': (1, 0, 0)})>/n<Event(4-MouseMotion {'pos': (145, 165), 'rel': (6, 3), 'buttons': (1, 0, 0)})>/n<Event(4-MouseMotion {'pos': (155, 167), 'rel': (10, 2), 'buttons': (1, 0, 0)})>/n<Event(4-MouseMotion {'pos': (166, 169), 'rel': (11, 2), 'buttons': (1, 0, 0)})>/n<Event(6-MouseButtonUp {'pos': (166, 169), 'button': 1})>/n<Event(4-MouseMotion {'pos': (178, 171), 'rel': (12, 2), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (192, 172), 'rel': (14, 1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (209, 174), 'rel': (17, 2), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (224, 174), 'rel': (15, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (238, 174), 'rel': (14, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (255, 174), 'rel': (17, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (270, 174), 'rel': (15, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (285, 174), 'rel': (15, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (298, 174), 'rel': (13, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (310, 174), 'rel': (12, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (320, 174), 'rel': (10, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (327, 174), 'rel': (7, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (330, 174), 'rel': (3, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (332, 174), 'rel': (2, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (333, 174), 'rel': (1, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (334, 174), 'rel': (1, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (336, 173), 'rel': (2, -1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (337, 172), 'rel': (1, -1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (338, 169), 'rel': (1, -3), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (342, 164), 'rel': (4, -5), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (347, 159), 'rel': (5, -5), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (353, 152), 'rel': (6, -7), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (360, 146), 'rel': (7, -6), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (370, 138), 'rel': (10, -8), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (378, 132), 'rel': (8, -6), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (384, 126), 'rel': (6, -6), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (388, 124), 'rel': (4, -2), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (391, 121), 'rel': (3, -3), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (392, 120), 'rel': (1, -1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (393, 120), 'rel': (1, 0), 'buttons': (0, 0, 0)})>/n<Event(5-MouseButtonDown {'pos': (393, 120), 'button': 1})>/n<Event(6-MouseButtonUp {'pos': (393, 120), 'button': 1})>/n<Event(4-MouseMotion {'pos': (396, 119), 'rel': (3, -1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (397, 119), 'rel': (1, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (401, 118), 'rel': (4, -1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (406, 116), 'rel': (5, -2), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (412, 113), 'rel': (6, -3), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (415, 112), 'rel': (3, -1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (420, 110), 'rel': (5, -2), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (422, 109), 'rel': (2, -1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (423, 109), 'rel': (1, 0), 'buttons': (0, 0, 0)})>/n<Event(5-MouseButtonDown {'pos': (423, 109), 'button': 1})>/n<Event(6-MouseButtonUp {'pos': (423, 109), 'button': 1})>/n<Event(4-MouseMotion {'pos': (422, 109), 'rel': (-1, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (419, 109), 'rel': (-3, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (414, 109), 'rel': (-5, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (405, 109), 'rel': (-9, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (392, 110), 'rel': (-13, 1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (378, 113), 'rel': (-14, 3), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (362, 116), 'rel': (-16, 3), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (346, 120), 'rel': (-16, 4), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (333, 122), 'rel': (-13, 2), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (320, 125), 'rel': (-13, 3), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (309, 127), 'rel': (-11, 2), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (300, 128), 'rel': (-9, 1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (293, 130), 'rel': (-7, 2), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (289, 131), 'rel': (-4, 1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (285, 132), 'rel': (-4, 1), 'buttons': (0, 0, 0)})>/n<Event(5-MouseButtonDown {'pos': (285, 132), 'button': 1})>/n<Event(4-MouseMotion {'pos': (284, 132), 'rel': (-1, 0), 'buttons': (1, 0, 0)})>/n<Event(4-MouseMotion {'pos': (283, 132), 'rel': (-1, 0), 'buttons': (1, 0, 0)})>/n<Event(4-MouseMotion {'pos': (282, 132), 'rel': (-1, 0), 'buttons': (1, 0, 0)})>/n<Event(4-MouseMotion {'pos': (281, 132), 'rel': (-1, 0), 'buttons': (1, 0, 0)})>/n<Event(6-MouseButtonUp {'pos': (281, 132), 'button': 1})>/n<Event(4-MouseMotion {'pos': (280, 134), 'rel': (-1, 2), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (280, 135), 'rel': (0, 1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (280, 136), 'rel': (0, 1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (280, 138), 'rel': (0, 2), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (280, 140), 'rel': (0, 2), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (280, 143), 'rel': (0, 3), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (280, 147), 'rel': (0, 4), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (280, 153), 'rel': (0, 6), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (282, 159), 'rel': (2, 6), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (285, 167), 'rel': (3, 8), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (289, 176), 'rel': (4, 9), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (291, 183), 'rel': (2, 7), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (294, 189), 'rel': (3, 6), 'buttons': (0, 0, 0)})>/n<Event(5-MouseButtonDown {'pos': (294, 189), 'button': 1})>/n<Event(4-MouseMotion {'pos': (297, 194), 'rel': (3, 5), 'buttons': (1, 0, 0)})>/n<Event(4-MouseMotion {'pos': (298, 196), 'rel': (1, 2), 'buttons': (1, 0, 0)})>/n<Event(4-MouseMotion {'pos': (299, 197), 'rel': (1, 1), 'buttons': (1, 0, 0)})>/n<Event(6-MouseButtonUp {'pos': (299, 197), 'button': 1})>/n<Event(2-KeyDown {'unicode': '', 'key': 114, 'mod': 0, 'scancode': 19})>/n<Event(3-KeyUp {'key': 114, 'mod': 0, 'scancode': 19})>/n<Event(4-MouseMotion {'pos': (299, 198), 'rel': (0, 1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (300, 199), 'rel': (1, 1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (300, 200), 'rel': (0, 1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (302, 200), 'rel': (2, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (303, 201), 'rel': (1, 1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (305, 202), 'rel': (2, 1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (308, 203), 'rel': (3, 1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (311, 203), 'rel': (3, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (313, 203), 'rel': (2, 0), 'buttons': (0, 0, 0)})>/n<Event(2-KeyDown {'unicode': '', 'key': 121, 'mod': 0, 'scancode': 21})>/n<Event(4-MouseMotion {'pos': (315, 204), 'rel': (2, 1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (316, 205), 'rel': (1, 1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (317, 205), 'rel': (1, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (318, 205), 'rel': (1, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (319, 205), 'rel': (1, 0), 'buttons': (0, 0, 0)})>/n<Event(3-KeyUp {'key': 121, 'mod': 0, 'scancode': 21})>/n<Event(4-MouseMotion {'pos': (320, 205), 'rel': (1, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (321, 205), 'rel': (1, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (323, 205), 'rel': (2, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (324, 205), 'rel': (1, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (326, 205), 'rel': (2, 0), 'buttons': (0, 0, 0)})>/n<Event(2-KeyDown {'unicode': '', 'key': 117, 'mod': 0, 'scancode': 22})>/n<Event(4-MouseMotion {'pos': (327, 205), 'rel': (1, 0), 'buttons': (0, 0, 0)})>/n<Event(3-KeyUp {'key': 117, 'mod': 0, 'scancode': 22})>/n<Event(2-KeyDown {'unicode': '', 'key': 107, 'mod': 0, 'scancode': 37})>/n<Event(3-KeyUp {'key': 107, 'mod': 0, 'scancode': 37})>/n<Event(4-MouseMotion {'pos': (328, 205), 'rel': (1, 0), 'buttons': (0, 0, 0)})>/n<Event(2-KeyDown {'unicode': '', 'key': 107, 'mod': 0, 'scancode': 37})>/n<Event(3-KeyUp {'key': 107, 'mod': 0, 'scancode': 37})>/n<Event(2-KeyDown {'unicode': '', 'key': 100, 'mod': 0, 'scancode': 32})>/n<Event(3-KeyUp {'key': 100, 'mod': 0, 'scancode': 32})>/n<Event(2-KeyDown {'unicode': '', 'key': 115, 'mod': 0, 'scancode': 31})>/n<Event(3-KeyUp {'key': 115, 'mod': 0, 'scancode': 31})>/n<Event(2-KeyDown {'unicode': '', 'key': 103, 'mod': 0, 'scancode': 34})>/n<Event(3-KeyUp {'key': 103, 'mod': 0, 'scancode': 34})>/n<Event(2-KeyDown {'unicode': '', 'key': 115, 'mod': 0, 'scancode': 31})>/n<Event(2-KeyDown {'unicode': '', 'key': 114, 'mod': 0, 'scancode': 19})>/n<Event(2-KeyDown {'unicode': '', 'key': 102, 'mod': 0, 'scancode': 33})>/n<Event(3-KeyUp {'key': 115, 'mod': 0, 'scancode': 31})>/n<Event(3-KeyUp {'key': 102, 'mod': 0, 'scancode': 33})>/n<Event(3-KeyUp {'key': 114, 'mod': 0, 'scancode': 19})>/n<Event(2-KeyDown {'unicode': '', 'key': 103, 'mod': 0, 'scancode': 34})>/n<Event(2-KeyDown {'unicode': '', 'key': 106, 'mod': 0, 'scancode': 36})>/n<Event(3-KeyUp {'key': 103, 'mod': 0, 'scancode': 34})>/n<Event(3-KeyUp {'key': 106, 'mod': 0, 'scancode': 36})>/n<Event(2-KeyDown {'unicode': '', 'key': 103, 'mod': 0, 'scancode': 34})>/n<Event(2-KeyDown {'unicode': '', 'key': 106, 'mod': 0, 'scancode': 36})>/n<Event(3-KeyUp {'key': 103, 'mod': 0, 'scancode': 34})>/n<Event(3-KeyUp {'key': 106, 'mod': 0, 'scancode': 36})>/n<Event(2-KeyDown {'unicode': '', 'key': 103, 'mod': 0, 'scancode': 34})>/n<Event(2-KeyDown {'unicode': '', 'key': 102, 'mod': 0, 'scancode': 33})>/n<Event(3-KeyUp {'key': 102, 'mod': 0, 'scancode': 33})>/n<Event(3-KeyUp {'key': 103, 'mod': 0, 'scancode': 34})>/n<Event(2-KeyDown {'unicode': '', 'key': 102, 'mod': 0, 'scancode': 33})>/n<Event(4-MouseMotion {'pos': (329, 204), 'rel': (1, -1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (330, 204), 'rel': (1, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (332, 204), 'rel': (2, 0), 'buttons': (0, 0, 0)})>/n<Event(3-KeyUp {'key': 102, 'mod': 0, 'scancode': 33})>/n<Event(4-MouseMotion {'pos': (337, 204), 'rel': (5, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (343, 202), 'rel': (6, -2), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (348, 200), 'rel': (5, -2), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (353, 197), 'rel': (5, -3), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (354, 195), 'rel': (1, -2), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (355, 192), 'rel': (1, -3), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (355, 191), 'rel': (0, -1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (355, 187), 'rel': (0, -4), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (356, 184), 'rel': (1, -3), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (357, 183), 'rel': (1, -1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (358, 185), 'rel': (1, 2), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (360, 187), 'rel': (2, 2), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (367, 190), 'rel': (7, 3), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (376, 191), 'rel': (9, 1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (387, 192), 'rel': (11, 1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (400, 192), 'rel': (13, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (414, 188), 'rel': (14, -4), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (425, 182), 'rel': (11, -6), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (438, 177), 'rel': (13, -5), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (449, 171), 'rel': (11, -6), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (459, 164), 'rel': (10, -7), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (468, 156), 'rel': (9, -8), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (477, 149), 'rel': (9, -7), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (484, 140), 'rel': (7, -9), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (490, 132), 'rel': (6, -8), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (497, 123), 'rel': (7, -9), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (502, 114), 'rel': (5, -9), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (508, 104), 'rel': (6, -10), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (513, 96), 'rel': (5, -8), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (518, 87), 'rel': (5, -9), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (522, 79), 'rel': (4, -8), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (525, 75), 'rel': (3, -4), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (527, 70), 'rel': (2, -5), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (528, 67), 'rel': (1, -3), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (529, 63), 'rel': (1, -4), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (530, 61), 'rel': (1, -2), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (530, 59), 'rel': (0, -2), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (530, 58), 'rel': (0, -1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (530, 57), 'rel': (0, -1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (530, 56), 'rel': (0, -1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (530, 55), 'rel': (0, -1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (531, 53), 'rel': (1, -2), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (530, 53), 'rel': (-1, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (529, 53), 'rel': (-1, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (528, 53), 'rel': (-1, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (527, 53), 'rel': (-1, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (525, 53), 'rel': (-2, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (524, 53), 'rel': (-1, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (519, 54), 'rel': (-5, 1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (516, 55), 'rel': (-3, 1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (513, 56), 'rel': (-3, 1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (510, 57), 'rel': (-3, 1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (507, 57), 'rel': (-3, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (503, 57), 'rel': (-4, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (497, 57), 'rel': (-6, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (487, 57), 'rel': (-10, 0), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (479, 56), 'rel': (-8, -1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (469, 54), 'rel': (-10, -2), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (458, 51), 'rel': (-11, -3), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (449, 47), 'rel': (-9, -4), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (441, 43), 'rel': (-8, -4), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (433, 38), 'rel': (-8, -5), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (429, 33), 'rel': (-4, -5), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (424, 26), 'rel': (-5, -7), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (419, 20), 'rel': (-5, -6), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (415, 14), 'rel': (-4, -6), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (410, 8), 'rel': (-5, -6), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (407, 2), 'rel': (-3, -6), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (406, 0), 'rel': (-1, -2), 'buttons': (0, 0, 0)})>/n<Event(1-ActiveEvent {'gain': 0, 'state': 1})>/n<Event(1-ActiveEvent {'gain': 0, 'state': 2})>/n<Event(1-ActiveEvent {'gain': 1, 'state': 1})>/n<Event(4-MouseMotion {'pos': (591, 1), 'rel': (185, 1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (593, 2), 'rel': (2, 1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (594, 4), 'rel': (1, 2), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (595, 5), 'rel': (1, 1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (596, 6), 'rel': (1, 1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (596, 7), 'rel': (0, 1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (597, 8), 'rel': (1, 1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (597, 9), 'rel': (0, 1), 'buttons': (0, 0, 0)})>/n<Event(1-ActiveEvent {'gain': 1, 'state': 6})>/n<Event(5-MouseButtonDown {'pos': (597, 9), 'button': 1})>/n<Event(6-MouseButtonUp {'pos': (597, 9), 'button': 1})>/n<Event(4-MouseMotion {'pos': (597, 8), 'rel': (0, -1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (596, 6), 'rel': (-1, -2), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (595, 4), 'rel': (-1, -2), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (594, 3), 'rel': (-1, -1), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (593, 1), 'rel': (-1, -2), 'buttons': (0, 0, 0)})>/n<Event(4-MouseMotion {'pos': (592, 0), 'rel': (-1, -1), 'buttons': (0, 0, 0)})>/n<Event(1-ActiveEvent {'gain': 0, 'state': 1})>/n<Event(12-Quit {})>/n
總結
以上是生活随笔為你收集整理的Pygame实现记录事件到文本中的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Pygame初始-模仿windows待机
- 下一篇: Mysql下载以及安装(新手入门,超详细