lkml.org 
[lkml]   [2009]   [Sep]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH v3] input/keyboard: new OpenCores Keyboard Controller driver
    Date
    Hi Mike,

    On Monday 14 September 2009 10:40:03 am Mike Frysinger wrote:
    > +
    > +struct opencores_kbd {
    > + struct input_dev *input;
    > + struct resource *addr_res;
    > + struct resource *irq_res;
    > + unsigned short *keycode;
    > +};

    Why do we allocate keycode table separately form the main structure?

    I think I still have some reservations with the notion that we can just
    have exact "scancode" - KEY_* mapping and hardware producers will adjust
    the hardware to follow the deriver but I guess it's OK...


    --
    Dmitry


    \
     
     \ /
      Last update: 2009-09-14 21:13    [W:0.020 / U:17.516 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site