summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorOlivier Gay <ogay@logitech.com>2015-02-17 14:00:03 +0100
committerJiri Kosina <jkosina@suse.cz>2015-02-23 16:17:32 +0100
commita877417ed4368b51f57e879b52793260981ddcaa (patch)
treee08d875df128ba23fc9c1d3bd81ca0df75a724a8 /samples
parent870fd0f5df4e131467612cc46db46fc3b69fd706 (diff)
downloadop-kernel-dev-a877417ed4368b51f57e879b52793260981ddcaa.zip
op-kernel-dev-a877417ed4368b51f57e879b52793260981ddcaa.tar.gz
HID: expose country code in sysfs
This commit exposes in sysfs the HID country code that is stored in the country member of hid_device structure. It identifies the country code of localized hardware. For example some keyboards use it to exhibit the language of the key layout. It helps the upper layer to identify the localized hardware and setup the correct language to use. For USB HID devices the country code comes for the HID descriptor and for Bluetooth HID devices it is the HIDCountryCode attribute from the SDP database. Signed-off-by: Olivier Gay <ogay@logitech.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud