chiark / gitweb /
rules: fix input-name for keyboard rules
authorDavid Herrmann <dh.herrmann@gmail.com>
Fri, 20 Mar 2015 09:44:21 +0000 (10:44 +0100)
committerDavid Herrmann <dh.herrmann@gmail.com>
Fri, 20 Mar 2015 09:45:42 +0000 (10:45 +0100)
commit568d800b784223eb37a5cd75e66dc03510fae638
treeaa7255c708ab9d6cab84f3ec9709fc4d85d31ddd
parentfa3f5fd2d3aebc468c4df216eca18a289aaa7e16
rules: fix input-name for keyboard rules

We match on the evdev node, but only the parent has a "name" attribute.
Use $attr{device/name} to access it.

This is borked since 2013, I wonder how that ever worked? Maybe this will
suddenly fix all the DMI-based key detections.

Thanks to Peter Hutterer for catching this!
rules/60-keyboard.rules