From 64cff4f7b669a14d338b176254dd0f7eaedf396e Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Sat, 29 Aug 2009 14:19:07 -0300 Subject: gen_keytables.pl: Change it to work with the new format From: Mauro Carvalho Chehab Priority: normal Signed-off-by: Mauro Carvalho Chehab --- v4l2-apps/util/gen_keytables.pl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/v4l2-apps/util/gen_keytables.pl b/v4l2-apps/util/gen_keytables.pl index 889516de4..5c569f559 100755 --- a/v4l2-apps/util/gen_keytables.pl +++ b/v4l2-apps/util/gen_keytables.pl @@ -5,8 +5,7 @@ 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_]+)/) { + if (m/struct\s+ir_scancode\s+(\w[\w\d_]+)/) { $keyname = $1; $keyname =~ s/^ir_codes_//; -- cgit v1.2.3