Changeset cac458f in mainline for uspace/srv/hid/input/include/mouse_port.h
- Timestamp:
- 2011-06-22T01:59:39Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 41e2118
- Parents:
- 79506d6 (diff), f1fae414 (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
-
TabularUnified uspace/srv/hid/input/include/mouse_port.h ¶
r79506d6 rcac458f 1 1 /* 2 * Copyright (c) 20 09 Jiri Svoboda2 * Copyright (c) 2011 Martin Decky 3 3 * All rights reserved. 4 4 * … … 27 27 */ 28 28 29 /** @addtogroup mouse 30 * @brief 29 /** @addtogroup inputgen generic 30 * @brief Mouse port driver interface. 31 * @ingroup input 31 32 * @{ 32 33 */ … … 39 40 #include <sys/types.h> 40 41 41 extern int mouse_port_init(void); 42 extern void mouse_port_yield(void); 43 extern void mouse_port_reclaim(void); 44 extern void mouse_port_write(uint8_t); 42 struct mouse_dev; 43 44 typedef struct mouse_port_ops { 45 int (*init)(struct mouse_dev *); 46 void (*yield)(void); 47 void (*reclaim)(void); 48 void (*write)(uint8_t); 49 } mouse_port_ops_t; 50 51 extern mouse_port_ops_t adb_mouse_port; 52 extern mouse_port_ops_t chardev_mouse_port; 45 53 46 54 #endif … … 48 56 /** 49 57 * @} 50 */ 51 58 */
Note:
See TracChangeset
for help on using the changeset viewer.