forked from s-leroux/hid_mapper
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathINSTALL
More file actions
44 lines (28 loc) · 1.07 KB
/
Copy pathINSTALL
File metadata and controls
44 lines (28 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Basic building:
===============
Go to the source directory then type from your shell:
./make
sudo make install
This will build the `hid_mapper` binary file in
the current directory and install the various
files:
- `hid_mapper` will go into `/usr/bin`
- startup script will go into `/etc/init.d`
- default config will go into `/etc/default`
- maps will go into `/usr/share/hid-mapper/map`
Debian (binary) package:
========================
Go to the source directory then type from your shell:
./make deb
This will produce a binary Debian package in the current
directory. This package may be then installed using `dpkg -i`:
dpkg -i hid-mapper-2.1.0-amd64.deb
The binary will be installed into `/usr/bin`
The maps in `/usr/share/hid-mapper/maps`
The startup script in `/etc/init.d`...
... and the configuration file in `/etc/default/hid-mapper`
(set your `product`, `manufacturer` and `map` in that later file).
To start/stop/restart the daemon, do as usual:
/etc/init.d/hid-mapper {start|stop|restart}
Or:
invoke-rc.d hid-mapper {start|stop|restart}