modify mouse-driver to send events over UDP?
Hello,
I would like to use the Apple Magic Trackpad 2 on a Windows App, but unfortunately there is no windows driver, but one for linux. Because I already can handle multitouch-inputs over network, I would like to modify the linux-driver to actually send all touch-events over network, using my own protocol. But I have no idea, where to start. And about compiling the driver, is it really enough to have the c-file for the driver itself and compile it against the kernel-sources? Would like to compile it on a raspbian. |
Ok I managed to compile the kernel from scratch, by loading the appropriate linux-source, adding the driver.c file to the source tree into drivers/input/mouse, editing the Makefile and Kconfig and then building the kernel
But I still cannot modprobe the new driver, nothing found in lib/modules/<kernel> I have done make make_install, shouldnt this copy the module? And what might be the best way of changing the driver, is there any faster way for debug as the complete kernel-build? |
All times are GMT -5. The time now is 06:55 PM. |