Changes in uspace/srv/hid/isdv4_tablet/main.c [a35b458:5a6cc679] in mainline
- File:
-
- 1 edited
-
uspace/srv/hid/isdv4_tablet/main.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/isdv4_tablet/main.c
ra35b458 r5a6cc679 35 35 #include <stddef.h> 36 36 #include <stdio.h> 37 #include <str.h>38 37 #include <task.h> 39 38 … … 66 65 { 67 66 async_answer_0(iid, EOK); 68 67 69 68 async_sess_t *sess = 70 69 async_callback_receive(EXCHANGE_SERIALIZE); 71 70 72 71 fibril_mutex_lock(&client_mutex); 73 72 74 73 if (client_sess == NULL) 75 74 client_sess = sess; 76 75 77 76 fibril_mutex_unlock(&client_mutex); 78 77 … … 80 79 ipc_call_t call; 81 80 ipc_callid_t callid = async_get_call(&call); 82 81 83 82 if (!IPC_GET_IMETHOD(call)) 84 83 break; 85 84 86 85 async_answer_0(callid, ENOTSUP); 87 86 } … … 93 92 async_sess_t *sess = client_sess; 94 93 fibril_mutex_unlock(&client_mutex); 95 94 96 95 if (!sess) return; 97 96 98 97 async_exch_t *exch = async_exchange_begin(sess); 99 98 if (exch) { … … 153 152 printf("%s %s %u %u %u %u\n", type, source, event->x, event->y, 154 153 event->pressure, event->button); 155 154 156 155 emit_event(event); 157 156 } … … 307 306 printf(" Touch: %ux%u type: %s\n", state.touch_max_x, state.touch_max_y, 308 307 touch_type(state.touch_type)); 309 308 310 309 fid_t fibril = fibril_create(read_fibril, NULL); 311 310 /* From this on, state is to be used only by read_fibril */
Note:
See TracChangeset
for help on using the changeset viewer.
