Ignore:
Timestamp:
2011-05-06T16:18:30Z (13 years ago)
Author:
Matej Klonfar <maklf@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
45a2688, ba17f5b
Parents:
1be39e9
Message:

BEGIN and ANYWHERE options added to usage path comparison

File:
1 edited

Legend:

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

    r1be39e9 r5f7b75a  
    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.