blob: 47070b9f875880d3dfff3feb6f9fa589a9295ee2 [file] [log] [blame]
#!/bin/sh
# Copyright (c) 2014 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Log all calls, with arguments, to /var/log/messages
logger -- "$0" "$@" "$DEVNAME"
# inputcontrol can't configure devices without xinput yet
test -x /usr/bin/xinput || exit 0
/opt/google/input/inputcontrol --add="$DEVNAME" &