A Linux LKM to add support for the 3 function buttons of Elecom DEFT trackballs.
Based on a kernel patch by Yuxuan Shui.
NOTE: Only needed for Linux <4.12. This patch has already been integrated in recent Linux kernels.
Linux 4.2+ Kernel headers
# add-apt-repository ppa:christian-petrov/deft
# apt-get update
# apt-get install deft-dkms
$ yaourt deft-dkms
... or use your favorite AUR helper or install the package manually.
$ cd driver
$ make
# make install
$ cd driver
# cp -rv . /usr/src/deft-1.0.2
# dkms install deft/1.0.2
# apt-get remove deft-dkms
# pacman -R deft-dkms
# make uninstall
# dkms remove deft/1.0.2 --all