Changeset f08c560 in mainline for uspace/drv/usbkbd/kbdrepeat.h
- Timestamp:
- 2011-03-25T14:37:03Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9c0f158, da3dafc, f97717d9
- Parents:
- 81001f6 (diff), 0533b03 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbkbd/kbdrepeat.h
r81001f6 rf08c560 34 34 */ 35 35 36 #ifndef USB HID_KBDREPEAT_H_37 #define USB HID_KBDREPEAT_H_36 #ifndef USB_KBDREPEAT_H_ 37 #define USB_KBDREPEAT_H_ 38 38 39 #include "kbddev.h" 39 struct usb_kbd_t; 40 41 /*----------------------------------------------------------------------------*/ 42 /** 43 * Structure for keeping information needed for auto-repeat of keys. 44 */ 45 typedef struct { 46 /** Last pressed key. */ 47 unsigned int key_new; 48 /** Key to be repeated. */ 49 unsigned int key_repeated; 50 /** Delay before first repeat in microseconds. */ 51 unsigned int delay_before; 52 /** Delay between repeats in microseconds. */ 53 unsigned int delay_between; 54 } usb_kbd_repeat_t; 40 55 41 56 /*----------------------------------------------------------------------------*/ 42 57 43 int usb hid_kbd_repeat_fibril(void *arg);58 int usb_kbd_repeat_fibril(void *arg); 44 59 45 void usb hid_kbd_repeat_start(usbhid_kbd_t *kbd, unsigned int key);60 void usb_kbd_repeat_start(struct usb_kbd_t *kbd, unsigned int key); 46 61 47 void usb hid_kbd_repeat_stop(usbhid_kbd_t *kbd, unsigned int key);62 void usb_kbd_repeat_stop(struct usb_kbd_t *kbd, unsigned int key); 48 63 49 #endif /* USB HID_KBDREPEAT_H_ */64 #endif /* USB_KBDREPEAT_H_ */ 50 65 51 66 /**
Note:
See TracChangeset
for help on using the changeset viewer.