Changeset 8c3c756 in mainline for uspace/drv/usbhid/hid.h


Ignore:
Timestamp:
2011-02-04T16:12:46Z (13 years ago)
Author:
Lubos Slovak <lubos.slovak@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4837092
Parents:
9e7cdf8
Message:

Setting configuration + key press / key release tracking.

  • Added list of pressed keys to usb_hid_dev_kbd_t - its size is determined when the configuration is set. Now hard-wired to count of pressed keys supported by boot protocol (6).
  • Added function for comparing new keys with old ones and sending events
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/usbhid/hid.h

    r9e7cdf8 r8c3c756  
    3737#define USBHID_HID_H_
    3838
     39#include <stdint.h>
     40
    3941#include <usb/classes/hid.h>
    4042#include <driver.h>
     
    7476        usb_device_connection_t wire;
    7577        usb_endpoint_pipe_t poll_pipe;
     78       
     79        uint8_t *keycodes;
     80        size_t keycode_count;
    7681} usb_hid_dev_kbd_t;
    7782
Note: See TracChangeset for help on using the changeset viewer.