Minor bugfixes for temporary testing

Added .gitignore
This commit is contained in:
Autumn Naber
2022-02-22 12:04:12 -08:00
parent c5b61eee0a
commit 13012dc779
3 changed files with 8 additions and 3 deletions

View File

@@ -26,16 +26,20 @@ def get_general_labels():
'Toggle Lights':'ShipSpotLightToggle'}
def get_mining_labels():
pass
def get_exploration_labels():
pass
def get_srv_labels():
pass
def get_assault_labels():
pass
def get_cmds():
cmds = {}
tree = xml.ElementTree(file=XXX)
tree = None #xml.ElementTree(file=XXX)
root = tree.getroot()
children = list(root)
@@ -43,7 +47,7 @@ def get_cmds():
for child in children:
name = child.tag
if not child.findall('Primary')
if not child.findall('Primary'):
continue
keys = child.getchildren()
if keys[0].attrib['Device'] == 'Keyboard':