Re: [PATCH] HID: fold ps3remote driver into generic Sony driver

2013-05-28 Thread David Dillow
On Tue, 2013-05-28 at 10:38 +0200, Jiri Kosina wrote: > Let's follow the structure we are trying to keep for most of the specific > HID drivers, and let the separation follow the producing vendor. > Merge functionality provided by ps3remote driver into hid-sony. > > Signed-off-by: Jiri Kosina >

Re: [PATCH] HID: fold ps3remote driver into generic Sony driver

2013-05-31 Thread David Dillow
On Tue, 2013-05-28 at 15:45 +0200, Jiri Kosina wrote: > I'd be glad if you could provide your Tested-by: for the patch below. > Thanks a lot. I tried to test this tonight, but was thwarted by Fedora 16 on the only readily available test platform -- old bluetoothd w/ the internal driver. I'll need

Re: [PATCH] HID: fold ps3remote driver into generic Sony driver

2013-06-12 Thread David Dillow
On Sat, 2013-06-01 at 00:55 -0400, David Dillow wrote: > On Tue, 2013-05-28 at 15:45 +0200, Jiri Kosina wrote: > > I'd be glad if you could provide your Tested-by: for the patch below. > > Thanks a lot. > > I tried to test this tonight, but was thwarted by Fedor

[RFC] hid/sony: add autorepeat for PS3 remotes

2013-06-27 Thread David Dillow
Some applications using the PS3 remote would like to have autorepeat from the device. Use the input subsystem's software emulation to provide this capability, and enable those that don't need it to turn it off. --- I'm not sure this is the correct approach, or if it is even appropriate for a remote

[PATCH v2] HID: Add support for Sony PS3 BD Remote Control

2012-09-17 Thread David Dillow
f the mapping logic from the fakehid driver by Marcel Holtmann to the in-kernel HID layer. We also add support for the Logitech Harmony Adapter for PS3, which emulates the BD Remote. Signed-off-by: David Dillow --- drivers/hid/Kconfig | 11 ++- drivers/hid/Makefile|1 + dr

Re: [PATCH v2] HID: Add support for Sony PS3 BD Remote Control

2012-09-19 Thread David Dillow
On Wed, 2012-09-19 at 18:48 +0200, Antonio Ospite wrote: > On Mon, 17 Sep 2012 21:33:58 -0400 > David Dillow wrote: > While on the remote I see: > > I press '1' and keep it pressed: > Event: time 1348069656.505528, type 1 (EV_KEY), code 2 (KEY_1), value 1 > 111

Re: [RFC, PATCH] hid-ps3remote: handle multiple keypresses for joypad buttons

2012-09-24 Thread David Dillow
On Mon, 2012-09-24 at 13:25 +0200, Antonio Ospite wrote: > In order to make this work I have to put joypad buttons only in one of > the key maps, I don't know if that is compatible with the Harmony > adapter. I suspect it is, but I'll try to test later tonight. Feel free to merge my patch and your

Re: [RFC, PATCH] hid-ps3remote: handle multiple keypresses for joypad buttons

2012-09-24 Thread David Dillow
On Mon, 2012-09-24 at 09:56 -0400, David Dillow wrote: > On Mon, 2012-09-24 at 13:25 +0200, Antonio Ospite wrote: > > In order to make this work I have to put joypad buttons only in one of > > the key maps, I don't know if that is compatible with the Harmony > > adapter.

Re: [PATCH v3] HID: Add support for Sony PS3 BD Remote Control

2012-09-25 Thread David Dillow
On Tue, 2012-09-25 at 16:30 +0200, Antonio Ospite wrote: > +static int ps3remote_mapping(struct hid_device *hdev, struct hid_input *hi, > + struct hid_field *field, struct hid_usage *usage, > + unsigned long **bit, int *max) > +{ > + unsigned in