[haiku-bugs] Re: [Haiku] #15857: [Preferences/Input] Keyboard gaining severall entries

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Thu, 09 Apr 2020 13:50:33 -0000

#15857: [Preferences/Input] Keyboard gaining severall entries
---------------------------------+----------------------------
   Reporter:  nephele            |      Owner:  PreetpalKaur
       Type:  bug                |     Status:  new
   Priority:  normal             |  Milestone:  Unscheduled
  Component:  Preferences/Input  |    Version:  R1/Development
 Resolution:                     |   Keywords:
 Blocked By:                     |   Blocking:
Has a Patch:  0                  |   Platform:  All
---------------------------------+----------------------------
Comment (by pulkomandy):

 Creating multiple entries is not necessarily a problem (HID devices can be
 composite, for example keyboard+mouse in a single device), but we probably
 need some filtering there, because our current logic is something along
 the lines of:
 - Is this a mouse?
 - Is this a gamepad/joystick?
 - Is this a wacom tablet?
 - Ok, must be a keyboard then!

 And a lot of useless "devices" get promoted to keyboards. This was not
 visible when there was no way to list input devices, but now it is.

 The HID report for that keyboard (automatically written to /tmp when you
 connect it) may confirm this.

 As for the devices not being removed, I don't remember seeing that. My
 mouse currently creates I think 3 devices, but they all are removed when I
 unplug it.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/15857#comment:2>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: