add config and setup doc for logi mouse
This commit is contained in:
parent
45d88af3c6
commit
60874b0c8e
29
logid/README.md
Normal file
29
logid/README.md
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
# Install Logi Driver
|
||||||
|
|
||||||
|
1. Install the dependencies.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo pacman -S base-devel cmake libevdev libconfig systemd-libs glib2
|
||||||
|
```
|
||||||
|
|
||||||
|
2. Clone the driver, build, and install.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
git clone https://github.com/PixlOne/logiops.git
|
||||||
|
mkdir logiops/build
|
||||||
|
cd logiops/build
|
||||||
|
cmake ..
|
||||||
|
make
|
||||||
|
sudo make install
|
||||||
|
```
|
||||||
|
|
||||||
|
3. Modify the config file at `/etc/logid.cfg`.
|
||||||
|
|
||||||
|
> Example: https://github.com/PixlOne/logiops/blob/main/logid.example.cfg
|
||||||
|
|
||||||
|
4. Enable the service.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo systemctl enable --now logid
|
||||||
|
```
|
||||||
|
|
21
logid/logid.cfg
Normal file
21
logid/logid.cfg
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
devices: (
|
||||||
|
{
|
||||||
|
name: "Signature M650";
|
||||||
|
buttons: (
|
||||||
|
{
|
||||||
|
cid: 0x53;
|
||||||
|
action: {
|
||||||
|
type: "Keypress";
|
||||||
|
keys: ["KEY_LEFTCTRL", "KEY_LEFTALT", "KEY_RIGHT"];
|
||||||
|
};
|
||||||
|
},
|
||||||
|
{
|
||||||
|
cid: 0x56;
|
||||||
|
action: {
|
||||||
|
type: "Keypress";
|
||||||
|
keys: ["KEY_LEFTCTRL", "KEY_LEFTALT", "KEY_LEFT"];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
);
|
||||||
|
}
|
||||||
|
);
|
Loading…
x
Reference in New Issue
Block a user