]> git.ipfire.org Git - thirdparty/systemd.git/commit
udev: input_id - refactor device detection
authorAndreas Pokorny <andreas.pokorny@canonical.com>
Fri, 29 May 2015 12:54:52 +0000 (14:54 +0200)
committerPeter Hutterer <peter.hutterer@who-t.net>
Tue, 2 Jun 2015 22:31:02 +0000 (08:31 +1000)
commit15264e5aeeadacffc5afd10dc790e02cb7c73801
tree3741435106e73367afefad8479fdff8e60a60479
parent2375607039517c88df51ef16ddbb624ec1c10654
udev: input_id - refactor device detection

This change switches to bools and separates bit flag evaluation from
decision making and application of udev properties, while hopefully
keeping the same semantics. Apart from using BTN_LEFT instead of BTN_MOUSE
for mouse detection.
src/udev/udev-builtin-input_id.c