Changes in uspace/drv/hid/ps2mouse/ps2mouse.h [15c5418:d420b22] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/hid/ps2mouse/ps2mouse.h
r15c5418 rd420b22 1 1 /* 2 2 * Copyright (c) 2011 Jan Vesely 3 * Copyright (c) 2017 Jiri Svoboda4 3 * All rights reserved. 5 4 * … … 31 30 */ 32 31 /** @file 33 * @brief PS/2 mouse driver.32 * @brief ps/2 mouse driver. 34 33 */ 35 34 36 #ifndef PS2MOUSE_H_37 #define PS2MOUSE_H_35 #ifndef _PS2MOUSE_H_ 36 #define _PS2MOUSE_H_ 38 37 39 38 #include <ddf/driver.h> 40 39 #include <fibril.h> 41 #include <io/chardev.h>42 40 43 41 /** PS/2 mouse driver structure. */ 44 42 typedef struct { 45 /** Mouse function. */ 46 ddf_fun_t *mouse_fun; 47 /** Device providing mouse connection */ 48 chardev_t *chardev; 49 /** Callback connection to client. */ 50 async_sess_t *client_sess; 51 /** Fibril retrieving an parsing data. */ 52 fid_t polling_fibril; 43 ddf_fun_t *mouse_fun; /**< Mouse function. */ 44 async_sess_t *parent_sess; /**< Connection to device providing data. */ 45 async_sess_t *client_sess; /**< Callback connection to client. */ 46 fid_t polling_fibril; /**< Fibril retrieving an parsing data. */ 53 47 } ps2_mouse_t; 54 48 55 externint ps2_mouse_init(ps2_mouse_t *, ddf_dev_t *);49 int ps2_mouse_init(ps2_mouse_t *, ddf_dev_t *); 56 50 57 51 #endif 58 59 52 /** 60 53 * @}
Note:
See TracChangeset
for help on using the changeset viewer.