1. 05 3月, 2015 1 次提交
    • D
      HID: map telephony usage page · f3dddf24
      Dmitry Torokhov 提交于
      Currently HID code maps usages from telephony page into BTN_0, BTN_1, etc
      keys which get interpreted by mousedev and userspace as left/right/middle
      button clicks, which is not really helpful.
      
      This change adds mappings for usages that have corresponding input event
      definitions, and leaves the rest unmapped. This can be changed when
      there are userspace consumers for more telephony usages.
      Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      f3dddf24
  2. 27 2月, 2015 1 次提交
  3. 23 2月, 2015 1 次提交
    • O
      HID: expose country code in sysfs · a877417e
      Olivier Gay 提交于
      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: NOlivier Gay <ogay@logitech.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      a877417e
  4. 11 2月, 2015 37 次提交