mirror of
https://gitlab.freedesktop.org/libevdev/libevdev.git
synced 2025-12-25 15:10:14 +01:00
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:
parent
21ca8dba06
commit
4d4873d101
1 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue