Comments (10)
Thank YOU for using it!
I do not think you are doing something wrong. Maybe your device is different from the one we used!. You could try to run the naga executable alone and see if it works, without using nagastart. You will have to deal with the default mapping but its just one magic line (see Usage in the front page).
The chroma we use to add support showed up like this, as seen in naga.cpp
"/dev/input/by-id/usb-Razer_Razer_Naga_Chroma-if02-event-kbd"
"/dev/input/by-id/usb-Razer_Razer_Naga_Chroma-event-mouse" // NAGA CHROMA
Which you have in your /dev/input
And the rest of the /dev/input entries seems ok to me. So at least the executable should work as expected. If it does not manage to get control of the device it will give you an error message, if it works it wil tell you "reading from...".
Let us know if you manage to fix it!
from naga_keypadmapper.
Okay, it seems to work if I just sudo naga
.. The button mapping is working, too. :)
So it seems like nagastart.sh
just crashes because of the two IDs and can not start the daemon because of this. A workaround for me would be to just put the right ID in it, should be 9
in this case, shouldn't it?
Also, another quick question as we're already at it: where are buttons 13 + 14?
from naga_keypadmapper.
Glad to hear it!
Yeah, as every model appears different in xinput nagastart has to be a little hacky. You can replace nagastart with the lines in Usage with the correct id, find out wich one it is by trial and error I would say.
You can then put that lines in a script and create your own nagastart.sh, something like this:
xinput set-int-prop [id] "Device Enabled" 8 0
xinput set-button-map 2 1 2 3 4 5 6 7 11 10 8 9 13 14 15
naga
[id] would be 9 or 10 for you.
Keep in mind that the second line might not even be necessary, try without it first!.
If you manage to get it working please give us the lines so we can add it to the script!
As for the buttons, no idea, is a mess of buttons in my head. Could be the "lean left/right" thingy buttons in the scroll, or the forward/backward, or maybe just nothing.
Thanks for your feedback!
from naga_keypadmapper.
You meant:
xinput set-int-prop 11 "Device Enabled" 8 0
xinput set-button-map [id] 1 2 3 4 5 6 7 11 10 8 9 13 14 15
naga
right?
Yeah, the buttons just seem to be non-existant for me, or at least I cannot ctrl+z
with any of mine ;)
from naga_keypadmapper.
Yes yes you are right, sorry
Use xinput get-button-map [id2] to get info about the available buttons
from naga_keypadmapper.
Okay well it only works if I do sudo naga
, it won't work without root access.
If I try do it without (what would happen at every boot), it tells me:
No naga devices found or you don't have permission to access them.
from naga_keypadmapper.
This should get around it(it's in install script) - maybe u need to reload udev rules or reboot.
echo 'KERNEL=="event[0-9]*",SUBSYSTEM=="input",GROUP="razer",MODE="640"' > /etc/udev/rules.d/80-naga.rules
If that still doesn't work you can just use sudo chmod 644 /dev/input/event{ID1,ID2}
(where ID1 and ID2 are the devices you wanna listen to. Then you should be able to use naga without sudo.
(I'll reply in more detail when I'll be home)
from naga_keypadmapper.
It works almost, after a reboot.
But I think there still is a permission issue. When I try to start Firefox with (button 9), it tells me the dbus-service is not running. When I start it manually, everything is fine.
from naga_keypadmapper.
Interesting, that has never happened to me. The only thing the executable does after catching a key is this:
test.c
#include <stdio.h>
int main (void)
{
system("setsid firefox &");
return 0;
}
if you run gcc test.c -o test
and then run ./test
does it work?
from naga_keypadmapper.
test.c works without a flaw..
Maybe its because of the razer
group?
from naga_keypadmapper.
Related Issues (20)
- You guys are gods HOT 2
- run= runs 2x the same thing somehow HOT 15
- Xinput not detecting naga 2014 on ubuntu 17.10 HOT 1
- Assigning a key to "Space" makes entire computer lag HOT 3
- unintended keystrokes recorded with xev on Ubuntu 17.10 HOT 1
- Syntax for Numpad HOT 1
- "No naga devices found or you don't have permission to access them." When run the nagastart.sh HOT 1
- Not executing the same key twice with delay HOT 1
- Naga Chroma can't map 2 top buttons (back and forward) HOT 2
- Support on Wayland ? HOT 2
- buttons 13 and 14 can't detect release HOT 2
- Buttons 13 and 14 still do their original actions HOT 5
- Naga, back forward buttons wont remap
- Input lag HOT 4
- Xinput not disabling default keypad input
- Getting Syntax Error HOT 1
- Remake HOT 1
- nagastart.sh aborts immediately after launching.
- Support for Razer Naga X HOT 1
- No naga devices found or you don't have permission to access them. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from naga_keypadmapper.