Update README.md

This commit is contained in:
dokutan 2020-03-17 21:15:07 +01:00 committed by GitHub
parent 20028dcd53
commit b30053c9c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,20 +11,15 @@ As a result there will be no changes to this program, unless I overlooked some f
- Install the dependencies: - Install the dependencies:
- libusb - libusb
- Clone this repo or download a release and run - Clone this repo or download a release and run
`` ```
make make
sudo make install sudo make install
`` ```
- Restart to get userspace access to the mouse via the installed udev rule - Restart to get userspace access to the mouse via the installed udev rule
- Upgrade an existing installation with
``
make
sudo make upgrade
``
- Uninstall with - Uninstall with
`` ```
sudo make uninstall sudo make uninstall
`` ```
### OpenBSD ### OpenBSD
@ -33,6 +28,7 @@ sudo make uninstall
``` ```
c++ mouse_m908.cpp -o mouse_m908 -Wall -O2 -I/usr/local/include/libusb-1.0 -L/usr/local/lib -lusb-1.0 c++ mouse_m908.cpp -o mouse_m908 -Wall -O2 -I/usr/local/include/libusb-1.0 -L/usr/local/lib -lusb-1.0
``` ```
- Optionally copy the files to the correct places (take a look at ``make install``)
- The --kernel-driver option is required - The --kernel-driver option is required
### Other platforms ### Other platforms