diff options
Diffstat (limited to 'v4l2-apps/util')
-rwxr-xr-x | v4l2-apps/util/gen_keytables.pl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/v4l2-apps/util/gen_keytables.pl b/v4l2-apps/util/gen_keytables.pl index f183ab4d1..889516de4 100755 --- a/v4l2-apps/util/gen_keytables.pl +++ b/v4l2-apps/util/gen_keytables.pl @@ -2,13 +2,15 @@ use strict; my $keyname=""; +my $debug=0; + while (<>) { #IR_KEYTAB_TYPE ir_codes_proteus_2309[IR_KEYTAB_SIZE] = { if (m/IR_KEYTAB_TYPE\s+(\w[\w\d_]+)/) { $keyname = $1; $keyname =~ s/^ir_codes_//; - print "Generating keycodes/$keyname\n"; + print "Generating keycodes/$keyname\n" if $debug; open OUT, ">keycodes/$keyname"; next; } |