Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset ef354b6 in mainline for uspace/drv/usbkbd/kbddev.c


Ignore:
Timestamp:
2011-04-17T17:24:34Z (12 years ago)
Author:
Matej Klonfar <maklf@…>
Branches:
lfn, master, serial
Children:
e50cd7f
Parents:
dc9f122
Message:

new report structure fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/usbkbd/kbddev.c

    rdc9f122 ref354b6  
    289289       
    290290        usb_log_debug("Creating output report.\n");
    291        
     291
     292        usb_hid_report_output_set_data(kbd_dev->parser, kbd_dev->led_path,
     293                                       USB_HID_PATH_COMPARE_END , kbd_dev->led_data,
     294                                       kbd_dev->led_output_size);
    292295        int rc = usb_hid_report_output_translate(kbd_dev->parser, 0,
    293296            kbd_dev->output_buffer, kbd_dev->output_size);
     
    612615
    613616        int rc = usb_hid_parse_report(kbd_dev->parser, buffer, actual_size);
     617        usb_hid_descriptor_print (kbd_dev->parser);
    614618
    615619        usb_hid_report_path_free (path);
     
    837841         * Set Idle rate
    838842         */
    839         usb_kbd_set_led(kbd_dev);
     843        usb_kbd_set_led(kbd_dev);       
    840844       
    841845        usbhid_req_set_idle(&kbd_dev->usb_dev->ctrl_pipe,
Note: See TracChangeset for help on using the changeset viewer.