Changeset bbf79e0 in mainline for uspace/app/virtusbkbd/virtusbkbd.c


Ignore:
Timestamp:
2010-10-12T12:56:33Z (14 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2193471
Parents:
e22ce0b
Message:

Virtual keyboard configuration separated

From now on, all descriptors etc. shall be located in kbdconfig.c file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/virtusbkbd/virtusbkbd.c

    re22ce0b rbbf79e0  
    5252#include <usbvirt/ids.h>
    5353
    54 #include "report.h"
     54#include "kbdconfig.h"
    5555
    5656#define LOOPS 5
     
    8080        return EOK;
    8181}
    82 
    83 static usb_standard_device_descriptor_t std_descriptor = {
    84         .length = sizeof(usb_standard_device_descriptor_t),
    85         .descriptor_type = 1,
    86         .usb_spec_version = 0x110,
    87         .device_class = 0x03,
    88         .device_subclass = 0,
    89         .device_protocol = 0,
    90         .max_packet_size = 64,
    91         .configuration_count = 1
    92 };
    9382
    9483/** Keyboard callbacks.
Note: See TracChangeset for help on using the changeset viewer.