Updated readme.
This commit is contained in:
parent
72733caa7b
commit
99e8c6da90
1 changed files with 8 additions and 5 deletions
13
README.md
13
README.md
|
@ -4,12 +4,15 @@ Allow users to toggle a convertible laptop between laptop and tablet mode.
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
The keyboard and touchpad devices to be deactivated in tablet mode must be specified in `/etc/tablet-mode.conf`:
|
The devices to be deactivated in either *tablet* or *laptop* mode must be specified in `/etc/tablet-mode.json`.
|
||||||
|
|
||||||
|
{
|
||||||
|
"tablet": [
|
||||||
|
"/dev/input/by-path/platform-i8042-serio-0-event-kbd",
|
||||||
|
"/dev/input/by-path/platform-i8042-serio-1-event-mouse"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
[Devices]
|
|
||||||
keyboard = /dev/input/by-path/platform-i8042-serio-0-event-kbd
|
|
||||||
touchpad = /dev/input/by-path/platform-i8042-serio-1-event-mouse
|
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
You must be a member of the group `tablet` to toggle between tablet and laptop mode.
|
You must be a member of the group `tablet` to toggle between tablet and laptop mode.
|
||||||
|
|
Loading…
Reference in a new issue