Drop the python map printing

leftover from when this was part of evemu

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
This commit is contained in:
Peter Hutterer 2018-02-26 16:53:55 +10:00
parent 0f40ad8888
commit 3799acd49e

View file

@ -103,18 +103,6 @@ def print_map(bits):
print("#endif");
print("")
def print_python_map(bits):
print("map = {")
for val, name in list(getattr(bits, "ev").items()):
name = name[3:]
if name == "REP" or name == "PWR" or name == "FF_STATUS" or name == "MAX":
continue
print(" %d : %s_map," % (val, name.lower()))
print("}")
print("")
def print_lookup(bits, prefix):
if not hasattr(bits, prefix):
return