HelenOS sources
MOUSE_WRITE_BYTE 400 uspace/drv/hid/ps2mouse/ps2mouse.c MOUSE_WRITE_BYTE(mouse, PS2_MOUSE_SET_SAMPLE_RATE);
MOUSE_WRITE_BYTE 402 uspace/drv/hid/ps2mouse/ps2mouse.c MOUSE_WRITE_BYTE(mouse, 200);
MOUSE_WRITE_BYTE 405 uspace/drv/hid/ps2mouse/ps2mouse.c MOUSE_WRITE_BYTE(mouse, PS2_MOUSE_SET_SAMPLE_RATE);
MOUSE_WRITE_BYTE 407 uspace/drv/hid/ps2mouse/ps2mouse.c MOUSE_WRITE_BYTE(mouse, buttons ? 200 : 100);
MOUSE_WRITE_BYTE 410 uspace/drv/hid/ps2mouse/ps2mouse.c MOUSE_WRITE_BYTE(mouse, PS2_MOUSE_SET_SAMPLE_RATE);
MOUSE_WRITE_BYTE 412 uspace/drv/hid/ps2mouse/ps2mouse.c MOUSE_WRITE_BYTE(mouse, 80);
MOUSE_WRITE_BYTE 415 uspace/drv/hid/ps2mouse/ps2mouse.c MOUSE_WRITE_BYTE(mouse, PS2_MOUSE_GET_DEVICE_ID);
HelenOS homepage, sources at GitHub