Changeset 8bb9540 in mainline for uspace/drv/char/ps2mouse/ps2mouse.c
- Timestamp:
- 2012-01-01T22:01:47Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1ff1ee1
- Parents:
- 1dea6d7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/char/ps2mouse/ps2mouse.c
r1dea6d7 r8bb9540 94 94 } \ 95 95 } while (0) 96 /*----------------------------------------------------------------------------*/ 96 97 97 static int polling_ps2(void *); 98 98 static int polling_intellimouse(void *); 99 99 static int probe_intellimouse(async_sess_t *, bool); 100 100 static void default_connection_handler(ddf_fun_t *, ipc_callid_t, ipc_call_t *); 101 /*----------------------------------------------------------------------------*/ 101 102 102 /** ps/2 mouse driver ops. */ 103 103 static ddf_dev_ops_t mouse_ops = { 104 104 .default_handler = default_connection_handler 105 105 }; 106 /*----------------------------------------------------------------------------*/ 106 107 107 /** Initialize mouse driver structure. 108 108 * @param kbd Mouse driver structure to initialize. … … 187 187 return EOK; 188 188 } 189 /*----------------------------------------------------------------------------*/ 189 190 190 /** Get data and parse ps2 protocol packets. 191 191 * @param arg Pointer to ps2_mouse_t structure. … … 242 242 } 243 243 } 244 /*----------------------------------------------------------------------------*/ 244 245 245 /** Get data and parse ps2 protocol with IntelliMouse extension packets. 246 246 * @param arg Pointer to ps2_mouse_t structure. … … 316 316 } 317 317 } 318 /*----------------------------------------------------------------------------*/ 318 319 319 /** Send magic sequence to initialize IntelliMouse extensions. 320 320 * @param session IPC session to the parent device. … … 348 348 return EOK; 349 349 } 350 /*----------------------------------------------------------------------------*/ 350 351 351 /** Default handler for IPC methods not handled by DDF. 352 352 *
Note:
See TracChangeset
for help on using the changeset viewer.