[linux-dvb] [PATCH]: Hauppauge Grey Remote support added

Darren Salt linux at youmustbejoking.demon.co.uk
Tue Jan 17 19:53:15 CET 2006


I demand that J.O. Aho may or may not have written...

[snip]
>   		name        = "Hauppauge";
>   		ir->get_key = get_key_haup;
>   		ir_type     = IR_TYPE_RC5;
> -		ir_codes    = ir_codes_rc5_tv;
> +		/* We have two options here black or grey remote */
> +		/*                    J.O. Aho <trizt at iname.com> */
> +		if(hauppauge==0) {
> +		   /* We use black remote */
> +		   ir_codes    = ir_codes_rc5_tv;
> +		} else {
> +		   /* We use grey remote  */
> +		   ir_codes    = ir_codes_rc5_tv_grey;

The raw key codes and the comments for that latter mapping happen to exactly
match my Nova-T remote control's keys - which, as I've said elsewhere, are a
subset of the newer (cx88) Nova-T remote control's keys.

I'd choose ir_codes_hauppauge_new for ths, but that's just me...

-- 
| Darren Salt | d youmustbejoking,demon,co,uk | nr. Ashington,
| Debian,     | s zap,tartarus,org            | Northumberland
| RISC OS     | @                             | Toon Army
|   Let's keep the pound sterling

Experiments should be reproducible. They should all fail in the same way.



More information about the linux-dvb mailing list