Ignore:
Timestamp:
2011-05-07T08:31:10Z (13 years ago)
Author:
Lubos Slovak <lubos.slovak@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
78dbf5b, c7fbb90
Parents:
1ce4189 (diff), 5f7b75a (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:

Changes from maklf - delimiters + usage paths comparison

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usb/include/usb/classes/hidpath.h

    r1ce4189 r45a2688  
    4444 */
    4545/** Wanted usage path must be exactly the same as the searched one */
    46 #define USB_HID_PATH_COMPARE_STRICT                             0
     46#define USB_HID_PATH_COMPARE_STRICT             0
    4747/** Wanted usage path must be the suffix in the searched one */
    48 #define USB_HID_PATH_COMPARE_END                        1
     48#define USB_HID_PATH_COMPARE_END                1
    4949/** */
    50 #define USB_HID_PATH_COMPARE_USAGE_PAGE_ONLY    4
    51 #define USB_HID_PATH_COMPARE_COLLECTION_ONLY    2 /* porovnava jenom cestu z Kolekci */
     50#define USB_HID_PATH_COMPARE_USAGE_PAGE_ONLY    2
    5251/** Searched usage page must be prefix of the other one */
    53 #define USB_HID_PATH_COMPARE_BEGIN              8
     52#define USB_HID_PATH_COMPARE_BEGIN              4
    5453/** Searched couple of usage page and usage can be anywhere in usage path */
    55 #define USB_HID_PATH_COMPARE_WHERE              16
    56 /**
    57  * TODO
    58  *  * porovnani zacatek - neni to to samy jako COLLECTION ONLY?? -- TEST
    59  *  * porovnani kdekoliv (jenom s delkou 1 at si to moc nekomplikujem)
    60  */
     54#define USB_HID_PATH_COMPARE_ANYWHERE           8
    6155
    6256
Note: See TracChangeset for help on using the changeset viewer.