Ignore:
File:
1 edited

Legend:

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

    rf3b39b4 r74b1e40  
    4242
    4343/*---------------------------------------------------------------------------*/
    44 /*
     44/**
    4545 * Flags of usage paths comparison modes.
    4646 *
    4747 */
    48 /** Wanted usage path must be exactly the same as the searched one.  This
    49  * option cannot be combined with the others.
     48/** Wanted usage path must be exactly the same as the searched one.
     49 * This option cannot be combined with the others.
    5050 */
    5151#define USB_HID_PATH_COMPARE_STRICT             0
     
    5757
    5858/**
    59  * Only usage page are compared along the usage path.  This option can be
    60  * combined with others.
     59 * Only usage page are compared along the usage path.
     60 * This option can be combined with others.
    6161 */
    6262#define USB_HID_PATH_COMPARE_USAGE_PAGE_ONLY    2
     
    101101        int depth;     
    102102
    103         /** Report id. Zero is reserved and means that report id is not used.
    104          * */
     103        /** Report id. Zero is reserved and means that report id is not used. */
    105104        uint8_t report_id;
    106105       
     
    118117void usb_hid_report_path_free(usb_hid_report_path_t *path);
    119118
    120 int usb_hid_report_path_set_report_id(usb_hid_report_path_t *usage_path,
    121                 uint8_t report_id);
     119int usb_hid_report_path_set_report_id(usb_hid_report_path_t *usage_path, 
     120                                      uint8_t report_id);
    122121
    123122int usb_hid_report_path_append_item(usb_hid_report_path_t *usage_path,
    124                 int32_t usage_page, int32_t usage);
     123                                    int32_t usage_page, int32_t usage);
    125124
    126125void usb_hid_report_remove_last_item(usb_hid_report_path_t *usage_path);
     
    129128
    130129void usb_hid_report_set_last_item(usb_hid_report_path_t *usage_path,
    131                 int32_t tag, int32_t data);
     130                                  int32_t tag, int32_t data);
    132131
    133 int usb_hid_report_compare_usage_path(usb_hid_report_path_t *report_path,
    134                 usb_hid_report_path_t *path, int flags);
     132int usb_hid_report_compare_usage_path(usb_hid_report_path_t *report_path, 
     133                                      usb_hid_report_path_t *path, int flags);
    135134
    136 usb_hid_report_path_t *usb_hid_report_path_clone(
    137                 usb_hid_report_path_t *usage_path);
     135usb_hid_report_path_t *usb_hid_report_path_clone(usb_hid_report_path_t *usage_path);
    138136
    139137void usb_hid_print_usage_path(usb_hid_report_path_t *path);
Note: See TracChangeset for help on using the changeset viewer.