Changes in uspace/drv/hid/ps2mouse/ps2mouse.c [6ff23ff:3bacee1] in mainline
- File:
-
- 1 edited
-
uspace/drv/hid/ps2mouse/ps2mouse.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/hid/ps2mouse/ps2mouse.c
r6ff23ff r3bacee1 324 324 325 325 /* Buttons */ 326 /* 327 * NOTE: Parsing 4th and 5th button works even if this extension 326 /* NOTE: Parsing 4th and 5th button works even if this extension 328 327 * is not supported and whole 4th byte should be interpreted 329 328 * as Z-axis movement. the upper 4 bits are just a sign … … 331 330 * (i.e no change since that is the default) and - sign fails 332 331 * the "imb" condition. Thus 4th and 5th buttons are never 333 * down on wheel only extension. 334 */ 332 * down on wheel only extension. */ 335 333 const bool imb = (packet[3] & INTELLIMOUSE_ALWAYS_ZERO) == 0; 336 334 const bool status[] = { … … 413 411 414 412 switch (method) { 413 /* This might be ugly but async_callback_receive_start makes no 414 * difference for incorrect call and malloc failure. */ 415 415 case IPC_M_CONNECT_TO_ME: 416 /*417 * This might be ugly but async_callback_receive_start makes no418 * difference for incorrect call and malloc failure.419 */420 416 sess = async_callback_receive_start(EXCHANGE_SERIALIZE, icall); 421 417 /* Probably ENOMEM error, try again. */
Note:
See TracChangeset
for help on using the changeset viewer.
