Roocat Leadr (wireless mode)

Gtuner IV general support. Operation, questions, updates, feature request.

Roocat Leadr (wireless mode)

Postby solhuebner » Sun Feb 17, 2019 12:47 am

Hi,

can you please help me with my Roccat Leadr?

The left mouse button is displayed as BUTTON_16 and the right one as BUTTON_15 when pressed.

I am pretty sure that there will be no (easy) way to use the buttons next to the left and right mouse button and the "Easy-Shift[+]" button as they default to DPI and other mouse functions.

Unfortunately, none of the others work. I know that I can NOT reassign the buttons via the mouse software :(

What I would like to accomplish is the following: Roccat Leadr -> Titan Two -> XIM Apex as the mouse is constantly sending some signals but only when used in wireless mode and I do not want to disable analog support in the XIM Apex (I want to use a Sony Nav controller).

Can you please tell me how to filter out what I listed under wireless? I am new to the Titan Two but I can script :)

Wired:
All 0

Wireless:
BUTTON_10 100
STICK_1_X -100
STICK_1_Y -100
STICK_2_X -100
STICK_1_X -100
All the rest 0

[USB DESCRIPTOR]
12 01 10 01 00 00 00 40 7D 1E 4E 2E 00 00 01 02 00 01 09 02 74 00 04 01 00 A0 FA 09 04 00 00 01 03 01 02 00 09 21 10 01 00 01 22 E8 00 07 05 81 03 08 00 01 09 04 01 00 01 03 00 01 00 09 21 10 01 00 01 22 3F 00 07 05 82 03 08 00 01 09 04 02 00 02 03 00 00 00 09 21 10 01 00 01 22 1B 00 07 05 84 03 40 00 01 07 05 05 03 40 00 01 09 04 03 00 01 03 01 00 00 09 21 10 01 00 01 22 65 00 07 05 86 03 08 00 01

[STRING 1 DESCRIPTOR]
00 00 00 02 00 00 02 01 80 06 03 01 04 09 00 0E
0E 03 52 00 4F 00 43 00 43 00 41 00 54 00

[STRING 2 DESCRIPTOR]
00 00 00 02 00 00 02 01 80 06 03 02 04 09 00 26
26 03 52 00 4F 00 43 00 43 00 41 00 54 00 20 00 4C 00 65 00 61 00 64 00 72 00 20 00 53 00 74 00 61 00 6E 00 64 00

[INTERFACE 0 HID DESCRIPTOR]
00 00 00 02 00 00 02 01 81 06 22 00 00 00 00 E8
05 01 09 02 A1 01 85 01 09 01 A1 00 05 09 19 01 29 05 15 00 25 01 95 05 75 01 81 02 95 01 75 03 81 01 05 01 09 30 09 31 16 00 80 26 FF 7F 95 02 75 10 81 06 09 38 15 81 25 7F 95 01 75 08 81 06 05 0C 0A 38 02 81 06 C0 C0 05 0C 09 01 A1 01 85 02 19 00 2A 3C 02 15 00 26 3C 02 95 01 75 10 81 00 C0 05 0A 09 00 A1 01 85 03 19 00 29 00 15 00 25 00 95 04 75 08 81 00 C0 05 0B 09 00 A1 01 85 04 19 00 29 00 15 00 25 00 95 02 75 08 B1 01 85 05 95 03 B1 01 85 06 95 22 B1 01 85 07 95 62 B1 01 85 08 96 01 04 B1 01 85 09 95 07 B1 01 85 0A 95 07 B1 01 85 0C 95 03 B1 01 85 0D 96 03 04 B1 01 85 0E 95 02 B1 01 85 0F 95 05 B1 01 85 10 95 0F B1 01 85 1A 96 04 04 B1 01 85 1B 96 01 04 B1 01 85 1C 95 02 B1 01 C0

[INTERFACE 1 HID DESCRIPTOR]
00 00 00 02 00 00 02 01 81 06 22 00 00 01 00 3F
05 01 09 06 A1 01 05 07 19 E0 29 E7 15 00 25 01 95 08 75 01 81 02 95 08 75 01 81 01 95 05 75 01 05 08 19 01 29 05 91 02 95 01 75 03 91 01 95 06 75 08 15 00 25 65 05 07 19 00 29 65 81 00 C0

[INTERFACE 2 HID DESCRIPTOR]
00 00 00 02 00 00 02 01 81 06 22 00 00 02 00 1B
05 01 09 00 A1 01 15 00 25 FF 19 01 29 08 95 40 75 08 81 02 19 01 29 08 91 02 C0

[INTERFACE 3 HID DESCRIPTOR]
00 00 00 02 00 00 02 01 81 06 22 00 00 03 00 65
05 01 09 04 A1 01 A1 02 15 00 26 FF 00 35 00 46 FF 00 05 01 09 30 09 31 09 32 09 35 75 08 95 04 81 02 75 04 95 01 25 07 46 3B 01 65 14 09 39 81 42 65 00 75 01 95 0C 25 01 45 01 05 09 19 01 29 0C 81 02 06 FF FF 75 08 95 02 25 01 45 01 09 01 81 02 C0 A1 02 75 08 95 07 26 FF 00 46 FF 00 09 02 91 02 C0 C0

If you need anything else just let me know :)

Thanks for any help!
And for such a great product!
User avatar
solhuebner
Corporal
Corporal
 
Posts: 5
Joined: Sun Feb 17, 2019 12:09 am

Re: Roocat Leadr (wireless mode)

Postby solhuebner » Sun Feb 17, 2019 2:56 pm

I think I got rid of the extra input like this:

USB Multi Interface HID
Disable Joystick from Multi Interface HID output

#include <keyboard.gph>
#include <mouse.gph>

init {
keymapping();
mousemapping();
}

main {
set_val(STICK_1_X,0);
set_val(STICK_1_Y,0);
set_val(STICK_2_X,0);
set_val(STICK_2_Y,0);
set_val(BUTTON_10,0);
key_passthru();
mouse_passthru();
}

I will try if I actually need the set_val as I disabled the Joystick part.

The only issue I have is that I lost the FIN (on top of the mouse). It is reporting when the Roccat Leadr is directly connected to the XIM Apex as LPAN and RPAN :(

PS: I tried with and without disabling the Joystick option. And with the buttons working in GTuner it would be easier ;)
User avatar
solhuebner
Corporal
Corporal
 
Posts: 5
Joined: Sun Feb 17, 2019 12:09 am

Re: Roocat Leadr (wireless mode)

Postby J2Kbr » Mon Feb 18, 2019 5:56 pm

You should be able to disable the listed inputs as the following, applying only to the USB port you have the Roocat (lets say it is plugged into Input-A):
Code: Select all
#include <remapper.gph>
 
init {
    remapper_disable(STICK_1_X);
    remapper_disable(STICK_1_Y);
    remapper_disable(STICK_2_X);
    remapper_disable(STICK_2_Y);
    remapper_disable(BUTTON_10);
    remapper_mask(RMP_USB_A);
}
 
ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 20323
Joined: Tue Mar 18, 2014 1:39 pm

Re: Roocat Leadr (wireless mode)

Postby solhuebner » Mon Feb 18, 2019 6:15 pm

Thanks!

Will try that later today :)

Do you think you might be able to implement support for the Roccat Leadr with the posted USB descriptors?

Regards,
Sol
User avatar
solhuebner
Corporal
Corporal
 
Posts: 5
Joined: Sun Feb 17, 2019 12:09 am

Re: Roocat Leadr (wireless mode)

Postby J2Kbr » Mon Feb 18, 2019 6:23 pm

solhuebner wrote:Do you think you might be able to implement support for the Roccat Leadr with the posted USB descriptors?

Possible yes, I will be checking the descriptors yet this week. Thank you for sending.
ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 20323
Joined: Tue Mar 18, 2014 1:39 pm

Re: Roocat Leadr (wireless mode)

Postby solhuebner » Wed Feb 20, 2019 3:49 am

I tried your code and it worked for filtering the noise but if I leave out the key_passthru(); and mouse_passthru(); I only get the two mouse buttons that are also currently recognized by Gtuner into XIM Apex. I already asked the Roccat support if we can get a firmware with a better default profile but they did reply that they do not care and that is sad as it is a nice mouse. Do you have an ETA for the Bluetooth PS4 support? Or maybe HID Bluetooth support? That would be awesome as one could make any wired mouse wireless (G502 wireless... awesome ;).
User avatar
solhuebner
Corporal
Corporal
 
Posts: 5
Joined: Sun Feb 17, 2019 12:09 am

Re: Roocat Leadr (wireless mode)

Postby J2Kbr » Thu Feb 21, 2019 10:20 am

solhuebner wrote:I tried your code and it worked for filtering the noise but if I leave out the key_passthru(); and mouse_passthru(); I only get the two mouse buttons that are also currently recognized by Gtuner into XIM Apex.

If you try like this:
Code: Select all
#include <remapper.gph>
#include <keyboard.gph>
#include <mouse.gph>
 
init {
    keymapping();
    mousemapping();
    remapper_disable(STICK_1_X);
    remapper_disable(STICK_1_Y);
    remapper_disable(STICK_2_X);
    remapper_disable(STICK_2_Y);
    remapper_disable(BUTTON_10);
    remapper_mask(RMP_USB_A);
}
 
main {
    key_passthru();
    mouse_passthru();
}
 

Be sure to NOT disable the joystick interface when using this script.
ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 20323
Joined: Tue Mar 18, 2014 1:39 pm

Re: Roocat Leadr (wireless mode)

Postby solhuebner » Thu Feb 21, 2019 4:51 pm

Thank you, I will try that. I could get a Logitech G700s as I get really frustrated with the Roccat Leadr and will try if that works better.

I do not know if it is worth integrating the Roccat Leadr for you as Roccat does not seem interested in supporting it.

Keep up the great work! I will also shift my focus on getting my flight stick setup going. Loving the Titan Two for its flexibility and the community for providing so many scripts to start with!

Regards,
Sol
User avatar
solhuebner
Corporal
Corporal
 
Posts: 5
Joined: Sun Feb 17, 2019 12:09 am


Return to Gtuner IV Support

Who is online

Users browsing this forum: No registered users and 107 guests

cron