Changeset ec6ab88 in mainline for uspace/lib/usb/src/hidparser.c


Ignore:
Timestamp:
2010-12-12T12:27:46Z (13 years ago)
Author:
Lubos Slovak <lubos.slovak@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a1ca50b3
Parents:
5174c62 (diff), 8365533 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merged branch lelian/hidd into development

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usb/src/hidparser.c

    r5174c62 rec6ab88  
    6262    const usb_hid_report_in_callbacks_t *callbacks, void *arg)
    6363{
    64         return ENOTSUP;
     64        int i;
     65       
     66        // TODO: parse report
     67       
     68        uint16_t keys[6];
     69       
     70        for (i = 0; i < 6; ++i) {
     71                keys[i] = data[i];
     72        }
     73       
     74        callbacks->keyboard(keys, 6, arg);
    6575}
    6676
Note: See TracChangeset for help on using the changeset viewer.