Subversion Repositories Kolibri OS

Rev

Rev 1600 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1600 Rev 1605
Line 110... Line 110...
110
        struct boot_packet *pkt;
110
        struct boot_packet *pkt;
111
        pkt = (struct boot_packet *)rq->data;
111
        pkt = (struct boot_packet *)rq->data;
112
        SetMouseData(pkt->buttons, pkt->x, -pkt->y, -pkt->z, 0);
112
        SetMouseData(pkt->buttons, pkt->x, -pkt->y, -pkt->z, 0);
113
    };
113
    };
114
    td->status = 0x00800000 | dev->speed;
114
    td->status = TD_CTRL_ACTIVE | TD_CTRL_IOC | dev->speed;
115
    td->token ^= DATA1;
115
    td->token ^= DATA1;
116
 
116
 
Line 117... Line 117...
117
    return true;
117
    return true;
118
};
118
};
Line 143... Line 143...
143
 
143
 
Line 144... Line 144...
144
    packet = kzalloc(enp.size, 0);
144
    packet = kzalloc(enp.size, 0);
Line 145... Line 145...
145
 
145
 
-
 
146
    rq = create_request(dev, &enp, DIN, packet, enp.size);
146
    rq = create_request(dev, &enp, DIN, packet, enp.size);
147
    rq->qnum = 6;
Line 147... Line 148...
147
    rq->handler = &mouse_handler;
148
    rq->handler = &mouse_handler;
Line 148... Line 149...
148
 
149