Skip to content

Commit 76d1508

Browse files
committed
license + readme
1 parent d63b584 commit 76d1508

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

LICENSE.md

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2019 Wez Furlong
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

+12
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,12 @@ input = ["KEY_F8"]
8282
output = ["KEY_MUTE"]
8383
```
8484

85+
* How do I list available input devices?
86+
`sudo evremap list-devices`
87+
88+
* How do I list available key codes?
89+
`evremap list-keys`
90+
8591
## Building it
8692

8793
```
@@ -104,6 +110,12 @@ your system and then install and enable it:
104110

105111
```
106112
$ sudo cp evremap.service /usr/lib/systemd/system/
113+
$ sudo systemctl daemon-reload
107114
$ sudo systemctl enable evremap.service
108115
$ sudo systemctl start evremap.service
109116
```
117+
118+
## How do I make this execute a command when a key is pressed?
119+
120+
Since the remapper runs as root, it seems like a dangerous idea to have it
121+
directly trigger commands, so that feature is not implemented.

0 commit comments

Comments
 (0)