[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <dfe20d79428280b911bd98629a8baac9@mognix.dark-green.com>
Date: Wed, 03 Nov 2010 15:25:28 +0100
From: gimli <gimli@...k-green.com>
To: Jiri Kosina <jkosina@...e.cz>
Cc: <linux-kernel@...r.kernel.org>
Subject: Re: Resend [PATCH 3/4] MacbookAir3,1 and 3,2 hid support
Next try.
On Wed, 3 Nov 2010 09:56:21 -0400 (EDT), Jiri Kosina <jkosina@...e.cz>
wrote:
> On Wed, 3 Nov 2010, gimli wrote:
>
>> Does this look better ?
>
> What I would actually prefer would be something like
>
>
> if ( ... )
> table = macbookair_fn_keys;
> else if ( ... )
> table = powerbook_fn_keys;
> else
> table = apple_fn_keys;
>
> apple_find_translation(table, usage->code);
>
>> I also use the USB id's for the if.
>
> Thanks,
View attachment "hid_macbookair_2.patch" of type "text/plain" (6314 bytes)
Powered by blists - more mailing lists