Re: [PATCH] HID: elecom: rewrite report fixup for EX-G and future mice

2017-12-13 Thread Alex Manoussakis
On Wed, Dec 13, 2017 at 09:47:46PM +, Tomasz Kramkowski wrote: > On Mon, Dec 11, 2017 at 12:31:16PM -0500, Alex Manoussakis wrote: > > Tomasz please add the wireless version in your next patch, a web search > > shows it's called M-XT3DRBK and the USB ID is 0x00fc. > > I'll call this one EX_G_W

Re: [PATCH] HID: elecom: rewrite report fixup for EX-G and future mice

2017-12-13 Thread Tomasz Kramkowski
On Mon, Dec 11, 2017 at 12:31:16PM -0500, Alex Manoussakis wrote: > Tomasz please add the wireless version in your next patch, a web search > shows it's called M-XT3DRBK and the USB ID is 0x00fc. M-XT3DRBK is the full model number for the wireless EX-G but since the HUGE and DEFT both use their sh

Re: [PATCH] HID: elecom: rewrite report fixup for EX-G and future mice

2017-12-11 Thread Alex Manoussakis
Tomasz please add the wireless version in your next patch, a web search shows it's called M-XT3DRBK and the USB ID is 0x00fc. Thanks, Alex On Mon, Dec 11, 2017 at 11:28:37AM +0100, Jiri Kosina wrote: > On Sat, 9 Dec 2017, Tomasz Kramkowski wrote: > > > Alright, that's fine. Anything else to chan

Re: [PATCH] HID: elecom: rewrite report fixup for EX-G and future mice

2017-12-11 Thread Jiri Kosina
On Sat, 9 Dec 2017, Tomasz Kramkowski wrote: > Alright, that's fine. Anything else to change before I send a v2? Not from my side, I think we're good to go. > Also, would you like v2 in-reply-to the root of this thread or as its > own thread? Feel free to send it as a followup here. Thanks,

Re: [PATCH] HID: elecom: rewrite report fixup for EX-G and future mice

2017-12-09 Thread Tomasz Kramkowski
On Thu, Dec 07, 2017 at 11:04:37AM +0100, Jiri Kosina wrote: > On Tue, 5 Dec 2017, Tomasz Kramkowski wrote: > > > On Mon, Dec 04, 2017 at 08:55:50PM +, Tomasz Kramkowski wrote: > > > +static void mouse_button_fixup(struct hid_device *hdev, > > > +__u8 *rdesc, unsigned i

Re: [PATCH] HID: elecom: rewrite report fixup for EX-G and future mice

2017-12-07 Thread Jiri Kosina
On Tue, 5 Dec 2017, Tomasz Kramkowski wrote: > On Mon, Dec 04, 2017 at 08:55:50PM +, Tomasz Kramkowski wrote: > > +static void mouse_button_fixup(struct hid_device *hdev, > > + __u8 *rdesc, unsigned int *rsize, > > + int nbuttons) > > I've jus

Re: [PATCH] HID: elecom: rewrite report fixup for EX-G and future mice

2017-12-05 Thread Tomasz Kramkowski
On Mon, Dec 04, 2017 at 08:55:50PM +, Tomasz Kramkowski wrote: > +static void mouse_button_fixup(struct hid_device *hdev, > +__u8 *rdesc, unsigned int *rsize, > +int nbuttons) I've just remembered what has been bugging me yesterday when I

[PATCH] HID: elecom: rewrite report fixup for EX-G and future mice

2017-12-04 Thread Tomasz Kramkowski
This patch rewrites the mouse report fixup used for the DEFT and HUGE ELECOM trackballs in order to make it generic enough to fix other ELECOM mice with similar issues. This patch also uses this new report fixup function to fix the ELECOM EX-G trackball which has 6 physical buttons and a similar is