diff options
author | Kay Sievers <kay@vrfy.org> | 2013-07-16 16:13:32 +0200 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2013-07-16 16:22:01 +0200 |
commit | ddc77f62244bb41d5c8261517e2e1ff1b763fc94 (patch) | |
tree | ae09b63d8b71e3d497adcb609c07e81ae0d588cd /src/udev/keymap/keyboard-force-release.sh.in | |
parent | 7080ea16b5a0bfd71bfcdffc998e91f5273d47f9 (diff) |
switch from udev keymaps to hwdb
Diffstat (limited to 'src/udev/keymap/keyboard-force-release.sh.in')
-rwxr-xr-x | src/udev/keymap/keyboard-force-release.sh.in | 22 |
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" |