Changeset 132ab5d1 in mainline for uspace/drv/hid/adb-mouse/adb-mouse.h
- Timestamp:
- 2018-01-30T03:20:45Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5a6cc679
- Parents:
- 8bfb163 (diff), 6a5d05b (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
-
uspace/drv/hid/adb-mouse/adb-mouse.h (moved) (moved from uspace/app/trace/errors.h ) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/hid/adb-mouse/adb-mouse.h
r8bfb163 r132ab5d1 1 1 /* 2 * Copyright (c) 20 08Jiri Svoboda2 * Copyright (c) 2017 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 27 27 */ 28 28 29 /** @addtogroup trace 30 * @{ 31 */ 32 /** @file 29 /** @file ADB mouse driver 33 30 */ 34 31 35 #ifndef ERRORS_H_36 #define ERRORS_H_32 #ifndef ADB_MOUSE_H 33 #define ADB_MOUSE_H 37 34 35 #include <async.h> 36 #include <ddf/driver.h> 37 #include <stdbool.h> 38 39 /** ADB mouse */ 38 40 typedef struct { 39 const char *name; /**< Error value name (Exx) */ 40 const char *desc; /**< Error description */ 41 } err_desc_t; 41 ddf_dev_t *dev; 42 async_sess_t *parent_sess; 43 ddf_fun_t *fun; 44 async_sess_t *client_sess; 45 bool b1_pressed; 46 bool b2_pressed; 47 } adb_mouse_t; 42 48 43 extern const err_desc_t err_desc[]; 49 extern int adb_mouse_add(adb_mouse_t *); 50 extern int adb_mouse_remove(adb_mouse_t *); 51 extern int adb_mouse_gone(adb_mouse_t *); 44 52 45 53 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
