Revision 69
not deactivating reporting, dont know why
mouse.c | ||
---|---|---|
58 | 58 |
|
59 | 59 |
int (mouse_set_data_report)(int on){ |
60 | 60 |
int ret = 0; |
61 |
if((ret = kbc_issue_cmd(MOUSE_WRITE_B))) return ret; |
|
62 |
if((ret = kbc_issue_arg(DIS_DATA_REP))) return ret; |
|
61 |
printf("L61\n"); |
|
62 |
if((ret = kbc_issue_cmd(MOUSE_WRITE_B))) return ret; printf("L62\n"); |
|
63 |
if((ret = kbc_issue_arg(DIS_DATA_REP))) return ret; printf("L63\n"); |
|
64 |
uint8_t ack = 0; |
|
65 |
if((ret = kbc_read_byte(&ack))) return ret;printf("L65\n"); |
|
66 |
printf("ACK: %x\n", ack); |
|
63 | 67 |
return SUCCESS; |
64 | 68 |
} |
Also available in: Unified diff