Changeset d900699 in mainline for uspace/srv/hid/input/include/mouse.h
- Timestamp:
- 2011-06-17T16:48:53Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f3a605be
- Parents:
- df8110d3 (diff), 98caf49 (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/srv/hid/input/include/mouse.h
rdf8110d3 rd900699 1 1 /* 2 * Copyright (c) 20 09Jiri Svoboda2 * Copyright (c) 2011 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 27 27 */ 28 28 29 /** @addtogroup kbdgen generic30 * @brief HelenOS generic uspace keyboard handler.31 * @ingroup kbd29 /** @addtogroup inputgen generic 30 * @brief Mouse device handling. 31 * @ingroup input 32 32 * @{ 33 */ 33 */ 34 34 /** @file 35 35 */ 36 36 37 #ifndef KBD_PORT_H_38 #define KBD_PORT_H_37 #ifndef MOUSE_H_ 38 #define MOUSE_H_ 39 39 40 #include < sys/types.h>40 #include <adt/list.h> 41 41 42 extern int kbd_port_init(void); 43 extern void kbd_port_yield(void); 44 extern void kbd_port_reclaim(void); 45 extern void kbd_port_write(uint8_t); 42 typedef struct mouse_dev { 43 /** Link to mouse_devs list */ 44 link_t mouse_devs; 45 46 /** Path to the device */ 47 const char *dev_path; 48 } mouse_dev_t; 49 50 int mouse_add_dev(const char *dev_path); 46 51 47 52 #endif … … 49 54 /** 50 55 * @} 51 */ 52 56 */
Note:
See TracChangeset
for help on using the changeset viewer.