2023-02-06 21:15:02 +00:00
|
|
|
#!/bin/sh
|
2023-02-06 23:19:09 +00:00
|
|
|
|
2023-02-07 01:45:11 +00:00
|
|
|
# Rerun the remaps script whenever a new input device is added.
|
2023-02-06 23:19:09 +00:00
|
|
|
|
2023-02-06 21:15:02 +00:00
|
|
|
while : ; do
|
2023-02-07 01:45:11 +00:00
|
|
|
remaps
|
2023-02-06 21:15:02 +00:00
|
|
|
dmesg -W -f kern | grep "input:" -q
|
|
|
|
sleep 1
|
|
|
|
done
|