Changeset b0f00a9 in mainline for uspace/lib/usbdev/src
- Timestamp:
- 2011-11-06T22:21:05Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 898e847
- Parents:
- 2bdf8313 (diff), 7b5f4c9 (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. - Location:
- uspace/lib/usbdev/src
- Files:
-
- 11 added
- 1 moved
-
altiface.c (added)
-
devdrv.c (added)
-
devpoll.c (added)
-
dp.c (added)
-
hub.c (added)
-
pipepriv.c (added)
-
pipepriv.h (moved) (moved from uspace/srv/hid/kbd/include/layout.h ) (2 diffs)
-
pipes.c (added)
-
pipesinit.c (added)
-
pipesio.c (added)
-
recognise.c (added)
-
request.c (added)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbdev/src/pipepriv.h
r2bdf8313 rb0f00a9 1 1 /* 2 * Copyright (c) 20 09 Jiri Svoboda2 * Copyright (c) 2011 Vojtech Horky 3 3 * All rights reserved. 4 4 * … … 27 27 */ 28 28 29 /** @addtogroup kbdgen generic 30 * @brief HelenOS generic uspace keyboard handler. 31 * @ingroup kbd 29 /** @addtogroup libusbdev 32 30 * @{ 33 31 */ 34 32 /** @file 33 * Library internal functions on USB pipes. 35 34 */ 35 #ifndef LIBUSBDEV_PIPEPRIV_H_ 36 #define LIBUSBDEV_PIPEPRIV_H_ 36 37 37 #i fndef KBD_LAYOUT_H_38 # define KBD_LAYOUT_H_38 #include <usb/dev/pipes.h> 39 #include <bool.h> 39 40 40 #include <sys/types.h> 41 #include <io/console.h> 41 void pipe_acquire(usb_pipe_t *); 42 void pipe_release(usb_pipe_t *); 42 43 43 typedef struct { 44 void (*reset)(void); 45 wchar_t (*parse_ev)(console_event_t *); 46 } layout_op_t; 44 void pipe_start_transaction(usb_pipe_t *); 45 void pipe_end_transaction(usb_pipe_t *); 47 46 48 extern layout_op_t us_qwerty_op;49 extern layout_op_t us_dvorak_op;50 extern layout_op_t cz_op; 47 int pipe_add_ref(usb_pipe_t *, bool); 48 void pipe_drop_ref(usb_pipe_t *); 49 51 50 52 51 #endif 53 54 52 /** 55 53 * @}
Note:
See TracChangeset
for help on using the changeset viewer.
