1 # Copyright 1999-2017 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 DESCRIPTION="Emulates scrollwheel, right- & left-click for one-button mice/touchpads"
7 HOMEPAGE="http://geekounet.org/powerbook/"
8 SRC_URI="http://geekounet.org/powerbook/files/${PN}.tar.gz"
18 PATCHES=( "${FILESDIR}"/${P}-fix.diff )
24 newinitd mouseemu.init.gentoo mouseemu
30 einfo "For mouseemu to work you need uinput support in your kernel:"
31 einfo " CONFIG_INPUT_UINPUT=y"
32 einfo "(Device Drivers->Input device support->Misc->User level driver support)"
33 einfo "Don't forget to add mouseemu to your default runlevel:"
34 einfo " rc-update add mouseemu default"
35 einfo "Configuration is in /etc/mouseemu.conf."