dollinger added inline comments.

INLINE COMMENTS

> dollinger wrote in upowerdevice.cpp:98
> Well then it is added automatically, which is what you would expect I think, 
> and that is the reason why gaming_input wasn't detected.

But we can also do it the following way, personally I don't  care to be honest:

  return (uptype == 2 || uptype == 3 || uptype == 5 || uptype == 6 || uptype == 
7 || uptype == 8 || uptype == 12);

While `12` is `UP_DEVICE_KIND_GAMING_INPUT`

REPOSITORY
  R245 Solid

REVISION DETAIL
  https://phabricator.kde.org/D11331

To: dollinger, broulik, #plasma
Cc: aleksejshilin, #frameworks, michaelh, ngraham

Reply via email to