update readme

pull/14/head
sezanzeb 4 years ago
parent d457b5efbe
commit eae71ed092

@ -17,7 +17,7 @@
<text x="32.5" y="14">coverage</text>
</g>
<g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
<text x="83.0" y="15" fill="#010101" fill-opacity=".3">91%</text>
<text x="82.0" y="14">91%</text>
<text x="83.0" y="15" fill="#010101" fill-opacity=".3">90%</text>
<text x="82.0" y="14">90%</text>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

@ -122,6 +122,8 @@ can be listed with `key-mapper-control --key-names`.
## CLI
**key-mapper-control**
`--command` requires the service to be running. You can start it via
`systemctl start key-mapper` or `sudo key-mapper-service` if it isn't already
running (or without sudo if your user has the appropriate permissions).
@ -132,3 +134,14 @@ key-mapper-control --list-devices
key-mapper-control --command stop --device "Razer Razer Naga Trinity"
key-mapper-control --command start --device "Razer Razer Naga Trinity" --preset "~/.config/key-mapper/presets/gamepad/a.json"
```
**systemctl**
Stopping the service will stop all injections until the computer is rebooted.
```bash
sudo systemctl stop key-mapper
sudo systemctl start key-mapper
systemctl status key-mapper
```

Loading…
Cancel
Save