Bt52 Mouse Driver
packet[packet_index++] = data; int bytes_per_packet = (device_has_wheel) ? 4 : 3; if (packet_index >= bytes_per_packet) process_mouse_packet(packet); packet_index = 0;
Use psm driver; modify psmattach() to accept BT52 ID 0x00 or 0x03 . bt52 mouse driver