Changeset 09ab0a9a in mainline for uspace/drv/hid


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/drv/hid/usbhid
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/hid/usbhid/generic/hiddev.c

    rb2aaaa0 r09ab0a9a  
    5959const char *HID_GENERIC_CATEGORY = "hid";
    6060
    61 
    6261static size_t usb_generic_hid_get_event_length(ddf_fun_t *fun);
    6362static errno_t usb_generic_hid_get_event(ddf_fun_t *fun, uint8_t *buffer,
  • uspace/drv/hid/usbhid/kbd/kbddev.c

    rb2aaaa0 r09ab0a9a  
    7575static ddf_dev_ops_t kbdops = { .default_handler = default_connection_handler };
    7676
    77 
    7877static const unsigned DEFAULT_ACTIVE_MODS = KM_NUM_LOCK;
    7978
     
    8887/** Delay between two repeats of a pressed key when auto-repeating. */
    8988static const unsigned int DEFAULT_REPEAT_DELAY = 50 * 1000;
    90 
    9189
    9290/** Keyboard polling endpoint description for boot protocol class. */
     
    587585            usb_device_get_iface_number(hid_dev->usb_dev), IDLE_RATE);
    588586
    589 
    590587        kbd_dev->initialized = USB_KBD_STATUS_INITIALIZED;
    591588        usb_log_debug("HID/KBD device structure initialized.");
     
    593590        return EOK;
    594591}
    595 
    596592
    597593/* API functions                                                              */
  • uspace/drv/hid/usbhid/kbd/kbdrepeat.h

    rb2aaaa0 r09ab0a9a  
    4242struct usb_kbd_t;
    4343
    44 
    4544/**
    4645 * Structure for keeping information needed for auto-repeat of keys.
     
    5756} usb_kbd_repeat_t;
    5857
    59 
    60 
    6158errno_t usb_kbd_repeat_fibril(void *arg);
    6259
  • uspace/drv/hid/usbhid/mouse/mousedev.c

    rb2aaaa0 r09ab0a9a  
    6060static ddf_dev_ops_t ops = { .default_handler = default_connection_handler };
    6161
    62 
    6362const usb_endpoint_description_t usb_hid_mouse_poll_endpoint_description = {
    6463        .transfer_type = USB_TRANSFER_INTERRUPT,
     
    7574/** Default idle rate for mouses. */
    7675static const uint8_t IDLE_RATE = 0;
    77 
    7876
    7977static const uint8_t USB_MOUSE_BOOT_REPORT_DESCRIPTOR[] = {
     
    106104};
    107105
    108 
    109 
    110106/** Default handler for IPC methods not handled by DDF.
    111107 *
     
    212208        }
    213209
    214 
    215210        if (shift_x || shift_y || shift_z) {
    216211                async_exch_t *exch =
  • uspace/drv/hid/usbhid/multimedia/multimedia.c

    rb2aaaa0 r09ab0a9a  
    3737 */
    3838
    39 
    4039#include "multimedia.h"
    4140#include "../usbhid.h"
     
    5554
    5655#define NAME  "multimedia-keys"
    57 
    5856
    5957/**
     
    7068        async_sess_t *console_sess;
    7169} usb_multimedia_t;
    72 
    73 
    7470
    7571/** Default handler for IPC methods not handled by DDF.
  • uspace/drv/hid/usbhid/usbhid.h

    rb2aaaa0 r09ab0a9a  
    9797};
    9898
    99 
    10099/**
    101100 * Structure for holding general HID device data.
Note: See TracChangeset for help on using the changeset viewer.