Updated readme.

This commit is contained in:
Richard Neumann 2019-09-02 11:58:39 +02:00
parent 72733caa7b
commit 99e8c6da90

View file

@ -4,11 +4,14 @@ Allow users to toggle a convertible laptop between laptop and tablet mode.
## 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`.
[Devices]
keyboard = /dev/input/by-path/platform-i8042-serio-0-event-kbd
touchpad = /dev/input/by-path/platform-i8042-serio-1-event-mouse
{
"tablet": [
"/dev/input/by-path/platform-i8042-serio-0-event-kbd",
"/dev/input/by-path/platform-i8042-serio-1-event-mouse"
]
}
## Usage