Changeset 09ab0a9a in mainline for uspace/lib/usbhid/src/hidparser.c
- Timestamp:
- 2018-09-13T12:05:53Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- cc74cb5
- Parents:
- b2aaaa0
- git-author:
- Jiri Svoboda <jiri@…> (2018-09-13 07:09:46)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-09-13 12:05:53)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhid/src/hidparser.c
rb2aaaa0 r09ab0a9a 44 44 #include <macros.h> 45 45 46 47 46 /* 48 47 * Data translation private functions … … 54 53 uint32_t usb_hid_translate_data_reverse(usb_hid_report_field_t *item, 55 54 int32_t value); 56 57 58 55 59 56 static int usb_pow(int a, int b) … … 72 69 } 73 70 74 75 71 /** Returns size of report of specified report id and type in items 76 72 * … … 120 116 } 121 117 } 122 123 118 124 119 /** Parse and act upon a HID report. … … 192 187 } 193 188 194 195 189 /** 196 190 * Translate data from the report as specified in report descriptor item … … 258 252 item->physical_minimum); 259 253 } 260 261 254 262 255 /* OUTPUT API */ … … 299 292 } 300 293 } 301 302 294 303 295 /** Frees output report buffer … … 410 402 } 411 403 412 413 404 /** 414 405 * Translate given data for putting them into the outoput report … … 455 446 } 456 447 457 458 448 /** 459 449 * Clones given state table … … 475 465 return new_report_item; 476 466 } 477 478 467 479 468 /** … … 531 520 } 532 521 533 534 522 /** 535 523 * Returns next report_id of report of specified type. If zero is given than … … 578 566 return 0; 579 567 } 580 581 568 582 569 /**
Note:
See TracChangeset
for help on using the changeset viewer.