We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a61dd6 commit 81dfe21Copy full SHA for 81dfe21
FunKey/board/funkey/rootfs-overlay/usr/local/sbin/keymap
@@ -0,0 +1,14 @@
1
+#!/bin/sh
2
+
3
+# Check number of args
4
+if [ ${#} -ne 1 ]; then
5
+ echo "Usage: $(basename ${0}) keymap_file"
6
+ exit 1
7
+fi
8
+if [ "${1}" = "reset" ]; then
9
+ keymap_file="/etc/fkgpiod.conf"
10
+else
11
+ keymap_file="${1}"
12
13
+echo "LOAD ${keymap_file}" >/tmp/fkgpiod.fifo 2>/dev/null
14
+exit 0
0 commit comments