Changeset e4f8c77 in mainline for uspace/srv/hid/s3c24xx_ts/s3c24xx_ts.c
- Timestamp:
- 2011-07-13T22:39:18Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e6910c8
- Parents:
- 5974661 (diff), 8ecef91 (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 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/s3c24xx_ts/s3c24xx_ts.c
r5974661 re4f8c77 42 42 #include <io/console.h> 43 43 #include <vfs/vfs.h> 44 #include <ipc/mouse .h>44 #include <ipc/mouseev.h> 45 45 #include <async.h> 46 46 #include <async_obsolete.h> … … 57 57 58 58 #define NAME "s3c24ser" 59 #define NAMESPACE "hid _in"59 #define NAMESPACE "hid" 60 60 61 61 static irq_cmd_t ts_irq_cmds[] = { … … 73 73 static s3c24xx_ts_t *ts; 74 74 75 static void s3c24xx_ts_connection(ipc_callid_t iid, ipc_call_t *icall); 75 static void s3c24xx_ts_connection(ipc_callid_t iid, ipc_call_t *icall, 76 void *arg); 76 77 static void s3c24xx_ts_irq_handler(ipc_callid_t iid, ipc_call_t *call); 77 78 static void s3c24xx_ts_pen_down(s3c24xx_ts_t *ts); … … 283 284 button = 1; 284 285 press = 0; 285 async_obsolete_msg_2(ts->client_phone, M EVENT_BUTTON, button, press);286 async_obsolete_msg_2(ts->client_phone, MOUSEEV_BUTTON_EVENT, button, press); 286 287 287 288 s3c24xx_ts_wait_for_int_mode(ts, updn_down); … … 324 325 325 326 /* Send notifications to client. */ 326 async_obsolete_msg_2(ts->client_phone, M EVENT_MOVE, dx, dy);327 async_obsolete_msg_2(ts->client_phone, M EVENT_BUTTON, button, press);327 async_obsolete_msg_2(ts->client_phone, MOUSEEV_MOVE_EVENT, dx, dy); 328 async_obsolete_msg_2(ts->client_phone, MOUSEEV_BUTTON_EVENT, button, press); 328 329 329 330 ts->last_x = x_pos; … … 373 374 374 375 /** Handle mouse client connection. */ 375 static void s3c24xx_ts_connection(ipc_callid_t iid, ipc_call_t *icall) 376 static void s3c24xx_ts_connection(ipc_callid_t iid, ipc_call_t *icall, 377 void *arg) 376 378 { 377 379 ipc_callid_t callid;
Note:
See TracChangeset
for help on using the changeset viewer.