[PATCH] Keymap compression and budget-ci IR conversion (update)
- From: Darren Salt <linux (at) youmustbejoking.demon.co.uk>
- Date: Tue, 07 Feb 2006 23:38:56 +0000
I demand that I definitely did write...
> The patch set can be downloaded here:
> <URL:http://www.youmustbejoking.demon.co.uk/progs/linux/dvb-ir-20060206.patch.tar.gz>
> Reference changeset is 3316.
I've updated that patch set - part of patch 4 was missing.
--
| Darren Salt | nr. Ashington, | d youmustbejoking,demon,co,uk
| Debian, | Northumberland | s zap,tartarus,org
| RISC OS | Toon Army | (at)
| Retrocomputing: a PC card in a Risc PC
Force has no place where there is need of skill.
diff -ur linux/drivers/media/common/ir-keymaps-make.pl~ linux/drivers/media/common/ir-keymaps-make.pl
--- linux/drivers/media/common/ir-keymaps-make.pl~ 2006-01-19 16:00:27.000000000 +0000
+++ linux/drivers/media/common/ir-keymaps-make.pl 2006-01-20 16:38:23.000000000 +0000
(at) (at) -5,6 +5,8 (at) (at)
# Written by Darren Salt <linux (at) youmustbejoking.demon.co.uk>
# Licence: GPL v2 or later (see below).
+use POSIX;
+
print <<'EOF';
/* Keytables for supported remote controls.
This file is automatically generated.
(at) (at) -82,7 +84,8 (at) (at)
print "\nconst s16 ${label}[] = {";
my $i = -1;
my $prev = 0;
- my $col = 0;
+ # default to 128 entries if the keymap is empty
+ my $col = output (0, $max > 0 ? 1 << ceil (log ($max)/log 2) : 128);
while (++$i <= $max)
{
next unless defined $mapping{$i};
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request (at) redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list