lostallmymoney/Razer_Mouse_Linux

Support for Naga pro Wireless.

Closed this issue · 11 comments

Hi,
I tried to install the keypadmapper but it seems not working. I've installed the openrazer with latest commit and it works but it doesn't support the keypad binding.
Thanks.

Hi,
thanks for your help. Sorry i'm a noob. Based on your clue, i've done the following:
edit the file naga.cpp
i have added:
devices.emplace_back("/dev/input/by-id/usb-Razer_Razer_Naga_Pro_000000000000-if02-event-kbd" , "/dev/input/by-id/usb-Razer_Razer_Naga_Pro_000000000000-event-mouse"); // NAGA PRO WIRELESS
sh install.sh
I try to press the button 1 that, if i understand right, in the default config is bind with audio mute, nothing happens and also the other buttons do nothing.
In the folder /dev/input/by-id/ i have other files related to naga pro, but i've choose those similar to the other devices.
I've missed something?

hi,
I mean that if i compile openrazer master branch naga pro doesn't work, to do it works i have to compile openrazer with the latest commit.
In the folder i have, related to naga pro, the following files:

usb-Razer_Razer_Naga_Pro_000000000000-event-if03
usb-Razer_Razer_Naga_Pro_000000000000-event-mouse
usb-Razer_Razer_Naga_Pro_000000000000-if01-event-mouse
usb-Razer_Razer_Naga_Pro_000000000000-if01-mouse
usb-Razer_Razer_Naga_Pro_000000000000-if02-event-kbd
usb-Razer_Razer_Naga_Pro_000000000000-mouse

To uninstall i run naga uninstall, and delete /home/$user/.naga
/etc/udev/rules.d/80-naga.rules
/user/local/bin naga* and kilroot.sh
Right? There was something else?
Thanks for your help.
I will try compile with other files.

Can i put more than two files in the devices.emplace_back line?

It works!!!!!!!!!!! The stupid error was mine! Instead edit naga.cpp inside /src i have edit the one in the parent folder. sorry.
So to make it works with Naga pro Wireless the line to add is the following:
devices.emplace_back("/dev/input/by-id/usb-Razer_Razer_Naga_Pro_000000000000-if02-event-kbd" , "/dev/input/by-id/usb-Razer_Razer_Naga_Pro_000000000000-event-mouse"); // NAGA PRO WIRELESS

Thank you very much for your work and for the help.
Now let's go to customize the binding.