Ignore:
Timestamp:
2011-06-21T19:35:45Z (13 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3b2e387
Parents:
1875a0c
Message:

update for new event names

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/s3c24xx_ts/s3c24xx_ts.c

    r1875a0c r022d9f67  
    4242#include <io/console.h>
    4343#include <vfs/vfs.h>
    44 #include <ipc/mouse.h>
     44#include <ipc/mouseev.h>
    4545#include <async.h>
    4646#include <async_obsolete.h>
     
    284284        button = 1;
    285285        press = 0;
    286         async_obsolete_msg_2(ts->client_phone, MEVENT_BUTTON, button, press);
     286        async_obsolete_msg_2(ts->client_phone, MOUSEEV_BUTTON_EVENT, button, press);
    287287
    288288        s3c24xx_ts_wait_for_int_mode(ts, updn_down);
     
    325325
    326326        /* Send notifications to client. */
    327         async_obsolete_msg_2(ts->client_phone, MEVENT_MOVE, dx, dy);
    328         async_obsolete_msg_2(ts->client_phone, MEVENT_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);
    329329
    330330        ts->last_x = x_pos;
Note: See TracChangeset for help on using the changeset viewer.