]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/udev/generate-keyboard-keys-list.sh
missing: move btrfs related entries to missing_btrfs.h and missing_btrfs_tree.h
[thirdparty/systemd.git] / src / udev / generate-keyboard-keys-list.sh
CommitLineData
7629744a 1#!/bin/sh
2set -eu
5c23128d 3
8e46eba4
MS
4$1 -dM -include linux/input.h - </dev/null | awk '
5 /\<(KEY_(MAX|MIN_INTERESTING))|(BTN_(MISC|MOUSE|JOYSTICK|GAMEPAD|DIGI|WHEEL|TRIGGER_HAPPY))\>/ { next }
6 /^#define[ \t]+(KEY|BTN)_[^ ]+[ \t]+[0-9BK]/ { print $2 }
7'