VirtualBox

Ignore:
Timestamp:
Jun 11, 2008 2:03:14 PM (17 years ago)
Author:
vboxsync
Message:

Additions/linux: added tracing code to the Xorg 1.4 mouse driver

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/xmouse/xorg14/mouse.c

    r8155 r9617  
    116116extern int  abs(int);
    117117extern long strtol(const char*,char**,int);
     118
     119# ifdef DEBUG_michael
     120#  define TRACE_ENTRY() \
     121do { xf86Msg(X_INFO, "%s: entering\n", __PRETTY_FUNCTION__); } while(0)
     122# endif
    118123#endif
    119124
     
    201206
    202207#undef MOUSE
     208#ifdef VBOX
     209/* # define MOUSE VBOXMOUSE */
     210#endif
    203211_X_EXPORT InputDriverRec MOUSE = {
    204212        1,
     
    12221230
    12231231
     1232    TRACE_ENTRY();
    12241233    pMse = pInfo->private;
    12251234    pBufP = pMse->protoBufTail;
     
    17151724    MouseDevPtr pMse;
    17161725
     1726    TRACE_ENTRY();
    17171727    pInfo = device->public.devicePrivate;
    17181728    pMse = pInfo->private;
     
    17471757#endif
    17481758
     1759    TRACE_ENTRY();
    17491760    pInfo = device->public.devicePrivate;
    17501761    pMse = pInfo->private;
     
    19061917        return FALSE;
    19071918
     1919    TRACE_ENTRY();
    19081920    *x = v0;
    19091921    *y = v1;
     
    21512163    int             ms;
    21522164
     2165    TRACE_ENTRY();
    21532166    if (pMse->emulate3Pending)
    21542167    {
     
    21682181    int             ms;
    21692182
     2183    TRACE_ENTRY();
    21702184    if (pMse->emulate3Pending)
    21712185    {
     
    24672481    int i, b, buttons = 0;
    24682482
     2483    TRACE_ENTRY();
    24692484    pMse = pInfo->private;
    24702485    if (pMse->protocolID == PROT_MMHIT)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette