USBMouse is a simple Linux kernel module that provides basic support for USB mice with USB ID 3151:3020 in the Linux USB subsystem using USB Request Blocks (URBs). The driver supports X-Y movements, button clicks and the scroll wheel.
-
Clone the USBMouse repository to your local machine:
git clone https://github.com/garyli2/USBMouse.git
-
Build the kernel module:
make
-
Load the USBMouse module:
insmod mouse.ko
The driver will probe connected USB devices and accept ones with ID 3151:3020. You may need to unbind these devices from the generic linux drivers first.