fenrir/src/fenrir-package/core/inputEvent.py

29 lines
465 B
Python
Raw Normal View History

2016-09-17 17:38:46 -04:00
#!/bin/python
import time
input = {
'currInput': [],
'prevInput': [],
'prevDeepestInput': [],
'currEvent': None,
2016-09-18 07:11:22 -04:00
'eventBuffer': [],
2016-09-17 17:38:46 -04:00
'shortcutRepeat': 0,
2016-09-18 07:11:22 -04:00
'fenrirKey': ['KEY_FENRIR'],
2016-09-17 17:38:46 -04:00
'keyForeward': False,
'lastInputTime':time.time(),
'oldNumLock': True,
'newNumLock':True,
'oldScrollLock': True,
'newScrollLock':True,
2016-09-17 17:38:46 -04:00
'oldCapsLock':False,
'newCapsLock':False
}
inputEvent = {
'EventName': '',
'EventValue': '',
'EventSec': 0,
'EventUsec': 0,
'EventState': 0,
}