Add thinkpad/touchpad
This commit is contained in:
parent
0cc6206dac
commit
44129f57c8
2 changed files with 57 additions and 0 deletions
10
content/docs/thinkpad/_index.md
Normal file
10
content/docs/thinkpad/_index.md
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
---
|
||||||
|
title: "Thinkpad"
|
||||||
|
weight: 1
|
||||||
|
bookFlatSection: true
|
||||||
|
# bookToc: true
|
||||||
|
# bookHidden: false
|
||||||
|
# bookCollapseSection: false
|
||||||
|
# bookComments: false
|
||||||
|
# bookSearchExclude: false
|
||||||
|
---
|
47
content/docs/thinkpad/touchpad.md
Normal file
47
content/docs/thinkpad/touchpad.md
Normal file
|
@ -0,0 +1,47 @@
|
||||||
|
---
|
||||||
|
title: "Pavé tactile"
|
||||||
|
weight: 1
|
||||||
|
# bookFlatSection: false
|
||||||
|
# bookToc: true
|
||||||
|
# bookHidden: false
|
||||||
|
# bookCollapseSection: false
|
||||||
|
# bookComments: false
|
||||||
|
# bookSearchExclude: false
|
||||||
|
---
|
||||||
|
|
||||||
|
# Pavé tactile
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
Le pavé tactile est configuré par `libinput`, installé par défaut comme dépendance de Xorg et Wayland sur Archlinux.
|
||||||
|
|
||||||
|
## Configuration
|
||||||
|
|
||||||
|
### Runtime
|
||||||
|
|
||||||
|
Pour changer la configuration en fonctionnement, le paquet `xorg-xinput` peut être utilisé.
|
||||||
|
Les commandes principales sont les suivantes :
|
||||||
|
```
|
||||||
|
$ xinput list
|
||||||
|
$ xinput list-props $device
|
||||||
|
$ xinput set-prop $device $option $setting
|
||||||
|
```
|
||||||
|
|
||||||
|
### Démarrage
|
||||||
|
#### Xorg
|
||||||
|
Le pavé tactile peut être configuré par un fichier de configuration Xorg (`/etc/X11/xorg.conf.d/30-touchpad.conf` par
|
||||||
|
exemple).
|
||||||
|
|
||||||
|
##### Exemple
|
||||||
|
```
|
||||||
|
Section "InputClass"
|
||||||
|
Identifier "touchpad"
|
||||||
|
MatchIsTouchpad "on"
|
||||||
|
Option "Tapping" "on"
|
||||||
|
Option "NaturalScrolling" "true"
|
||||||
|
EndSection
|
||||||
|
```
|
||||||
|
|
||||||
|
## Sources
|
||||||
|
|
||||||
|
1. <https://wiki.archlinux.org/title/Libinput>
|
Loading…
Reference in a new issue