initial working input command chain
This commit is contained in:
parent
75db6ac58f
commit
593aafd17b
26
src/fenrir-package/core/inputEvent.py
Normal file
26
src/fenrir-package/core/inputEvent.py
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
#!/bin/python
|
||||||
|
import time
|
||||||
|
|
||||||
|
input = {
|
||||||
|
'currInput': [],
|
||||||
|
'prevInput': [],
|
||||||
|
'prevDeepestInput': [],
|
||||||
|
'currEvent': None,
|
||||||
|
'eventBuffer': None,
|
||||||
|
'shortcutRepeat': 0,
|
||||||
|
'fenrirKey': ['82'],
|
||||||
|
'keyForeward': False,
|
||||||
|
'lastInputTime':time.time(),
|
||||||
|
'oldNumLock': True,
|
||||||
|
'newNumLock':True,
|
||||||
|
'oldCapsLock':False,
|
||||||
|
'newCapsLock':False
|
||||||
|
}
|
||||||
|
|
||||||
|
inputEvent = {
|
||||||
|
'EventName': '',
|
||||||
|
'EventValue': '',
|
||||||
|
'EventSec': 0,
|
||||||
|
'EventUsec': 0,
|
||||||
|
'EventState': 0,
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user