aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@dailly.me>2024-04-06 10:35:48 +0200
committerSébastien Dailly <sebastien@dailly.me>2024-04-06 10:35:48 +0200
commitf8363576f7eaf92c9e4c3a6e9323fa2535eb4c88 (patch)
treed7c56eb1b3f2cfd4450a052c3d7cb65f4daf84d6
parentb515fcceb378573293663f5ac841b9673ae6abd6 (diff)
Update xorg configuration for keyboardsHEADmaster
-rwxr-xr-xinstall.sh8
-rw-r--r--keyboards/etc/X11/xorg.conf.d/sofle.conf3
-rw-r--r--keyboards/etc/X11/xorg.conf.d/typematrix.conf5
3 files changed, 9 insertions, 7 deletions
diff --git a/install.sh b/install.sh
new file mode 100755
index 0000000..57a2f89
--- /dev/null
+++ b/install.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+echo "Installation du layout bépo pour le clavier typematrix"
+install -m 644 keyboards/etc/X11/xorg.conf.d/typematrix.conf /etc/X11/xorg.conf.d
+install -m 644 keyboards/etc/X11/xorg.conf.d/sofle.conf /etc/X11/xorg.conf.d
+
+echo "Driver udev pour flipperzero"
+install -m 644 flipperzero/etc/udev/rules.d/42-flipperzero.rules /etc/udev/rules.d
diff --git a/keyboards/etc/X11/xorg.conf.d/sofle.conf b/keyboards/etc/X11/xorg.conf.d/sofle.conf
index 1ba31e3..facdf54 100644
--- a/keyboards/etc/X11/xorg.conf.d/sofle.conf
+++ b/keyboards/etc/X11/xorg.conf.d/sofle.conf
@@ -8,10 +8,7 @@ Section "InputClass"
# Le nom de périphérique correspond au nom que l'on a donné via udev
# MatchDevicePath "/dev/input/typematrix*"
- Driver "evdev"
-
# On choisit la disposition fr-bépo
- Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "fr"
Option "XkbVariant" "bepo"
diff --git a/keyboards/etc/X11/xorg.conf.d/typematrix.conf b/keyboards/etc/X11/xorg.conf.d/typematrix.conf
index 79f0994..503aa9f 100644
--- a/keyboards/etc/X11/xorg.conf.d/typematrix.conf
+++ b/keyboards/etc/X11/xorg.conf.d/typematrix.conf
@@ -9,11 +9,8 @@ Section "InputClass"
# Le nom de périphérique correspond au nom que l'on a donné via udev
# MatchDevicePath "/dev/input/typematrix*"
- Driver "evdev"
-
# On choisit la disposition fr-bépo
- Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
- Option "XkbLayout" "fr"
+ Option "XkbLayout" "fr"
Option "XkbVariant" "bepo"
EndSection