Changes in uspace/srv/hid/console/console.c [3c22f70:7ea7db31] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/console/console.c
r3c22f70 r7ea7db31 726 726 727 727 /* NB: The callback connection is slotted for removal */ 728 sysarg_t taskhash;729 728 sysarg_t phonehash; 730 if (ipc_connect_to_me(kbd_phone, SERVICE_CONSOLE, 0, 0, &taskhash, 731 &phonehash) != 0) { 729 if (ipc_connect_to_me(kbd_phone, SERVICE_CONSOLE, 0, 0, &phonehash) != 0) { 732 730 printf(NAME ": Failed to create callback from input device\n"); 733 731 return false; 734 732 } 735 733 736 async_new_connection( taskhash,phonehash, 0, NULL, keyboard_events);734 async_new_connection(phonehash, 0, NULL, keyboard_events); 737 735 738 736 /* Connect to mouse device */ … … 751 749 } 752 750 753 if (ipc_connect_to_me(mouse_phone, SERVICE_CONSOLE, 0, 0, &taskhash, 754 &phonehash) != 0) { 751 if (ipc_connect_to_me(mouse_phone, SERVICE_CONSOLE, 0, 0, &phonehash) != 0) { 755 752 printf(NAME ": Failed to create callback from mouse device\n"); 756 753 mouse_phone = -1; … … 758 755 } 759 756 760 async_new_connection( taskhash,phonehash, 0, NULL, mouse_events);757 async_new_connection(phonehash, 0, NULL, mouse_events); 761 758 skip_mouse: 762 759
Note:
See TracChangeset
for help on using the changeset viewer.