equal
deleted
inserted
replaced
92 return ('mousemove', event.mouse.x, event.mouse.y) |
92 return ('mousemove', event.mouse.x, event.mouse.y) |
93 if event.type == event.MOUSEDOWN: |
93 if event.type == event.MOUSEDOWN: |
94 return ('mousedown', event.mouse.x, event.mouse.y, event.mouse.button) |
94 return ('mousedown', event.mouse.x, event.mouse.y, event.mouse.button) |
95 if event.type == event.MOUSEUP: |
95 if event.type == event.MOUSEUP: |
96 return ('mouseup', event.mouse.x, event.mouse.y, event.mouse.button) |
96 return ('mouseup', event.mouse.x, event.mouse.y, event.mouse.button) |
|
97 if event.type == event.MOUSEWHEEL: |
|
98 return ('mousewheel', event.mouse.x, event.mouse.y, event.mouse.button) |
97 if event.type == event.KEYPRESS: |
99 if event.type == event.KEYPRESS: |
98 keyname = event.key.keyname |
100 keyname = event.key.keyname |
99 if keyname: |
101 if keyname: |
100 keyname = keyname.decode() |
102 keyname = keyname.decode() |
101 else: |
103 else: |