Coder Social home page Coder Social logo

Comments (6)

apocatarsis avatar apocatarsis commented on May 27, 2024

The syntax in mapping.txt for the keys is the one of xdotool minus de "XK_". You can see all keys here: http://cgit.freedesktop.org/xorg/proto/x11proto/plain/keysymdef.h

According to this, the ESC button would be: "Escape"

You can see the syntax for the mapping.txt in the README.

Thanks for your feedbak!

from naga_keypadmapper.

Destroyer avatar Destroyer commented on May 27, 2024

Hi, any changes you have to made to the code? If any let us know so that we can add it to the support list :)
The list of possible keys is mentioned but if you wanna test it, you can run xdotool key --window getactivewindow KEYorSHORTCUT from your terminal and if it doesn't print something like (symbol) No such key name 'X'. Ignoring it. then it works.

from naga_keypadmapper.

mrlinuxfish avatar mrlinuxfish commented on May 27, 2024

I am running on arch linux, so I installed all the dependencies and manually ran most of the commands from install.sh as it didn't run correctly the first time.

from naga_keypadmapper.

apocatarsis avatar apocatarsis commented on May 27, 2024

So the core executable was compatible without any changes?

from naga_keypadmapper.

mrlinuxfish avatar mrlinuxfish commented on May 27, 2024

The executable would not run, but the commands in the executable worked. The only odd thing is the mapping file it is using is in /root/.naga/ instead of ~/.naga because the executable has to be run using sudo.

from naga_keypadmapper.

Destroyer avatar Destroyer commented on May 27, 2024

I don't think it's that odd, the naga executable uses getenv() to find out where's the home. So if this variable gets changed with sudo, it will load its changed version.
What's odd to me is that I've read the udev rules syntax on archlinux wiki and it doesnt work for you. Did you try to update them? ( http://unix.stackexchange.com/a/39371 ). If you add yourself to that group you should be able to read those commands without sudo.

Also my question is: with what parametr does it call itself? With sudo naga molten or different? So that I can add it to readme. :)

from naga_keypadmapper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.