Change the python script to generate event names to Python3

It's well past time. If you need this to run on python2, patch it out locally.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2020-02-14 12:46:56 +10:00
parent 21ca8dba06
commit 4d4873d101

View file

@ -1,10 +1,9 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# Parses linux/input.h scanning for #define KEY_FOO 134
# Prints C header files or Python files that can be used as
# mapping and lookup tables.
#
from __future__ import print_function
import re
import sys