Merge pull request #125 from leo-ventura/master

docs: Update logid.example.cfg and fix daemon instruction on readme
This commit is contained in:
pixl 2020-09-01 19:00:43 -04:00 committed by GitHub
commit a577b74c33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -7,13 +7,13 @@ This is currently only compatible with HID++ \>2.0 devices.
## Configuration ## Configuration
[Refer to the wiki for details.](https://github.com/PixlOne/logiops/wiki/Configuration) [Refer to the wiki for details.](https://github.com/PixlOne/logiops/wiki/Configuration)
You may also refer to logid.example.cfg for an example. You may also refer to [logid.example.cfg](./logid.example.cfg) for an example.
Default location for the configuration file is /etc/logid.cfg. Default location for the configuration file is /etc/logid.cfg, but another can be specified using the `-c` flag.
## Dependencies ## Dependencies
This project requires a C++14 compiler, cmake, libevdev, libudev, and libconfig. For popular distributions, I've included commands below. This project requires a C++14 compiler, `cmake`, `libevdev`, `libudev`, and `libconfig`. For popular distributions, I've included commands below.
**Debian/Ubuntu:** `sudo apt install cmake libevdev-dev libudev-dev libconfig++-dev` **Debian/Ubuntu:** `sudo apt install cmake libevdev-dev libudev-dev libconfig++-dev`
@ -23,14 +23,14 @@ This project requires a C++14 compiler, cmake, libevdev, libudev, and libconfig.
To build this project, run: To build this project, run:
``` ```bash
mkdir build mkdir build
cd build cd build
cmake .. cmake ..
make make
``` ```
To install, run `sudo make install` after building. You can set the daemon to start at boot by running `sudo systemctl start logid`. To install, run `sudo make install` after building. You can set the daemon to start at boot by running `sudo systemctl enable logid` or `sudo systemctl enable --now logid` if you want to enable and start the daemon.
## Donate ## Donate
This program is (and will always be) provided free of charge. If you would like to support the development of this project by donating, you can donate to my Ko-Fi below. This program is (and will always be) provided free of charge. If you would like to support the development of this project by donating, you can donate to my Ko-Fi below.

View File

@ -1,6 +1,6 @@
devices: ( devices: (
{ {
name: "MX Master"; name: "Wireless Mouse MX Master";
smartshift: smartshift:
{ {
on: true; on: true;