summaryrefslogtreecommitdiff
path: root/src/udev/keymap/keyboard-force-release.sh.in
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2013-07-16 16:13:32 +0200
committerKay Sievers <kay@vrfy.org>2013-07-16 16:22:01 +0200
commitddc77f62244bb41d5c8261517e2e1ff1b763fc94 (patch)
treeae09b63d8b71e3d497adcb609c07e81ae0d588cd /src/udev/keymap/keyboard-force-release.sh.in
parent7080ea16b5a0bfd71bfcdffc998e91f5273d47f9 (diff)
switch from udev keymaps to hwdb
Diffstat (limited to 'src/udev/keymap/keyboard-force-release.sh.in')
-rwxr-xr-xsrc/udev/keymap/keyboard-force-release.sh.in22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/udev/keymap/keyboard-force-release.sh.in b/src/udev/keymap/keyboard-force-release.sh.in
deleted file mode 100755
index b82674840f..0000000000
--- a/src/udev/keymap/keyboard-force-release.sh.in
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/sh -e
-# read list of scancodes, convert hex to decimal and
-# append to the atkbd force_release sysfs attribute
-# $1 sysfs devpath for serioX
-# $2 file with scancode list (hex or dec)
-
-case "$2" in
- /*) scf="$2" ;;
- *) scf="@udevlibexecdir@/keymaps/force-release/$2" ;;
-esac
-
-read attr <"/sys/$1/force_release"
-while read scancode dummy; do
- case "$scancode" in
- \#*) ;;
- *)
- scancode=$(($scancode))
- attr="$attr${attr:+,}$scancode"
- ;;
- esac
-done <"$scf"
-echo "$attr" >"/sys/$1/force_release"