# Re: \[KERNEL PATCH\] HID: Add support for Sony BD Remote

- From: David Dillow \<dave@thedillows.org\>
- Date: 2012-09-16 21:12:16 
- List: linux-bluetooth
- Page: https://ratatoskr.run/linux-bluetooth/2012/09/9626622
- Thread: https://ratatoskr.run/linux-bluetooth/2012/08/9625131/t.md

```text
On Sun, 2012-09-16 at 16:56 -0400, David Dillow wrote:
> On Sun, 2012-09-16 at 21:35 +0200, David Herrmann wrote:
> > Is there a reason for this weird order? I guess it's copied unchanged
> > from userspace? (Or maybe I am just not getting the semantic order
> > here) But I think most entries can be changed to be ascending indexes.
> > Makes adding new ones much easier.
> 
> It's copied directly from userspace; looking at the functions
> implemented, I suspect it is somewhat ordered by keys on the physical
> remote. I don't think it's very likely that we'll be adding new entries,
> but sure, I can sort it numerically.

Actually, looking again at a picture of the PS3 BD remote, I think I'd
rather leave the ordering as-is -- it makes testing the mapping easier,
since it is currently ordered by general proximity. I'll add a comment
to this effect.


```
