Changeset 09ab0a9a in mainline for uspace/lib/usbhid/include


Ignore:
Timestamp:
2018-09-13T12:05:53Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
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)
Message:

Fix vertical spacing with new Ccheck revision.

Location:
uspace/lib/usbhid/include/usb/hid
Files:
9 edited

Legend:

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

    rb2aaaa0 r09ab0a9a  
    6969} usb_hid_iface_protocol_t;
    7070
    71 
    7271#endif
    7372/**
  • uspace/lib/usbhid/include/usb/hid/hid_report_items.h

    rb2aaaa0 r09ab0a9a  
    3838#include <stdint.h>
    3939
    40 
    4140/*
    4241 * Item prefix
     
    5756#define USB_HID_ITEM_IS_LONG(data)      (data == 0xFE)
    5857
    59 
    6058/*
    6159 * Extended usage macros
     
    7068/** Cuts usage of the extended usage */
    7169#define USB_HID_EXTENDED_USAGE(usage)           (usage & 0xFFFF)
    72 
    7370
    7471/*
     
    143140#define USB_HID_ITEM_FLAG_BUFFERED(flags)       ((flags & 0x100) == 0x100)
    144141
    145 
    146 
    147142/* MAIN ITEMS */
    148143
     
    185180 */
    186181#define USB_HID_REPORT_TAG_END_COLLECTION       0xC
    187 
    188 
    189182
    190183/* GLOBAL ITEMS */
     
    273266#define USB_HID_REPORT_TAG_POP                  0xB
    274267
    275 
    276 
    277268/* LOCAL ITEMS */
    278269
     
    348339#define USB_HID_REPORT_TAG_DELIMITER            0xA
    349340
    350 
    351 
    352341#endif
    353342/**
  • uspace/lib/usbhid/include/usb/hid/hiddescriptor.h

    rb2aaaa0 r09ab0a9a  
    8787    usb_hid_report_path_t *cmp_path);
    8888
    89 
    9089#endif
    9190/**
  • uspace/lib/usbhid/include/usb/hid/hidparser.h

    rb2aaaa0 r09ab0a9a  
    4343#include <usb/hid/hiddescriptor.h>
    4444
    45 
    4645/*
    4746 * Input report parser functions
     
    6463    usb_hid_report_type_t type);
    6564
    66 
    6765errno_t usb_hid_report_output_translate(usb_hid_report_t *report,
    6866    uint8_t report_id, uint8_t *buffer, size_t size);
    69 
    7067
    7168/*
  • uspace/lib/usbhid/include/usb/hid/hidpath.h

    rb2aaaa0 r09ab0a9a  
    4141#include <adt/list.h>
    4242
    43 
    44 
    4543/*
    4644 * Flags of usage paths comparison modes.
     
    7472#define USB_HID_PATH_COMPARE_ANYWHERE           8
    7573
    76 
    7774/**
    7875 * Item of usage path structure. Last item of linked list describes one item
     
    9390} usb_hid_report_usage_path_t;
    9491
    95 
    96 
    9792/**
    9893 * USB HID usage path structure.
     
    112107        list_t items;   /* of usb_hid_report_usage_path_t */
    113108} usb_hid_report_path_t;
    114 
    115109
    116110usb_hid_report_path_t *usb_hid_report_path(void);
  • uspace/lib/usbhid/include/usb/hid/hidtypes.h

    rb2aaaa0 r09ab0a9a  
    3939#include <adt/list.h>
    4040
    41 
    42 
    4341/**
    4442 * Maximum amount of specified usages for one report item
     
    6866#define USB_HID_INT32_TO_UINT32(x, size)        \
    6967        (((x) < 0 ) ? ((1 << (size)) + (x)) : (x))
    70 
    71 
    7268
    7369/**
     
    8783} usb_hid_report_type_t;
    8884
    89 
    90 
    9185/**
    9286 * Description of all reports described in one report descriptor.
     
    113107} usb_hid_report_t;
    114108
    115 
    116109/**
    117110 * Description of one concrete report
     
    136129        link_t reports_link;
    137130} usb_hid_report_description_t;
    138 
    139131
    140132/**
     
    202194        link_t ritems_link;
    203195} usb_hid_report_field_t;
    204 
    205 
    206196
    207197/**
     
    316306};
    317307
    318 
    319 
    320308#endif
    321309/**
  • uspace/lib/usbhid/include/usb/hid/request.h

    rb2aaaa0 r09ab0a9a  
    4242#include <usb/dev/pipes.h>
    4343
    44 
    45 
    4644errno_t usbhid_req_set_report(usb_pipe_t *ctrl_pipe, int iface_no,
    4745    usb_hid_report_type_t type, uint8_t *buffer, size_t buf_size);
     
    6159errno_t usbhid_req_get_idle(usb_pipe_t *ctrl_pipe, int iface_no, uint8_t *duration);
    6260
    63 
    64 
    6561#endif /* USB_KBD_HIDREQ_H_ */
    6662
  • uspace/lib/usbhid/include/usb/hid/usages/core.h

    rb2aaaa0 r09ab0a9a  
    7171} usb_hidut_usage_consumer_t;
    7272
    73 
    7473#endif
    7574/**
  • uspace/lib/usbhid/include/usb/hid/usages/kbdgen.h

    rb2aaaa0 r09ab0a9a  
    5454 * into a single file.
    5555 */
    56 
    5756
    5857#ifndef USB_HIDUT_KBD_KEY
     
    164163__NONPRINT(UP_ARROW, 0x52);
    165164
    166 
    167 
    168 
    169165/* USB_HIDUT_KBD_KEY(, 0x, '', '', 0, 0) */
    170166
     
    174170 * @}
    175171 */
    176 
Note: See TracChangeset for help on using the changeset viewer.