[PATCH 2/2] generalize keyboard detection code

Guillem Jover guillem.jover at nokia.com
Mon Apr 2 16:59:31 PDT 2007


Some devices do not have a proper keyboard, still they have keys, those
should be handled by the input addon, but should not be considered a
keyboard. This patch thus adds two new input capabilities, input.keys
and input.keypad. A device with more than two keys will have the
input.keys set and it might have input.keyboard, input.keypad or
neither depending on the supported keys.
---
 fdi/policy/10osvendor/10-input-policy.fdi |    2 +-
 hald/freebsd/probing/probe-hiddev.c       |   10 ++++-
 hald/linux/device.c                       |   58 ++++++++++++++++++++++++----
 3 files changed, 59 insertions(+), 11 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 890061caabd0a91ba6506360e2003d77ecf62fef.diff
Type: text/x-patch
Size: 3824 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20070403/b8b8c77c/890061caabd0a91ba6506360e2003d77ecf62fef.bin


More information about the hal mailing list