Re: [PATCH 1/2] rc-core: use the full 32 bits for NEC scancodes

2015-06-13 Thread David Härdeman
On 2015-05-20 22:24, David Härdeman wrote: On Thu, May 14, 2015 at 05:57:39PM -0300, Mauro Carvalho Chehab wrote: Em Mon, 06 Apr 2015 13:23:08 +0200 David Härdeman da...@hardeman.nu escreveu: +static inline enum rc_type guess_protocol(struct rc_dev *rdev) +{ + struct rc_map *rc_map

Re: [PATCH 1/2] rc-core: use the full 32 bits for NEC scancodes

2015-05-20 Thread David Härdeman
On Thu, May 14, 2015 at 05:57:39PM -0300, Mauro Carvalho Chehab wrote: Em Mon, 06 Apr 2015 13:23:08 +0200 David Härdeman da...@hardeman.nu escreveu: Using the full 32 bits for all kinds of NEC scancodes simplifies rc-core and the nec decoder without any loss of functionality. At the same time

Re: [PATCH 1/2] rc-core: use the full 32 bits for NEC scancodes

2015-05-14 Thread Mauro Carvalho Chehab
Em Mon, 06 Apr 2015 13:23:08 +0200 David Härdeman da...@hardeman.nu escreveu: Using the full 32 bits for all kinds of NEC scancodes simplifies rc-core and the nec decoder without any loss of functionality. At the same time it ensures that scancodes for NEC16/NEC24/NEC32 do not overlap and

[PATCH 1/2] rc-core: use the full 32 bits for NEC scancodes

2015-04-06 Thread David Härdeman
Using the full 32 bits for all kinds of NEC scancodes simplifies rc-core and the nec decoder without any loss of functionality. At the same time it ensures that scancodes for NEC16/NEC24/NEC32 do not overlap and removes any ambiguity. For example, before this patch, consider these two NEC

[PATCH 1/2] rc-core: use the full 32 bits for NEC scancodes

2015-04-02 Thread David Härdeman
Using the full 32 bits for all kinds of NEC scancodes simplifies rc-core and the nec decoder without any loss of functionality. At the same time it ensures that scancodes for NEC16/NEC24/NEC32 do not overlap and removes any ambiguity. For example, before this patch, consider these two NEC