lkml.org 
[lkml]   [2010]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Resend [PATCH 3/4] MacbookAir3,1 and 3,2 hid support
    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,

    --
    Jiri Kosina
    SUSE Labs, Novell Inc.


    \
     
     \ /
      Last update: 2010-11-03 14:59    [W:0.022 / U:63.032 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site