RaulPPelaez / Naga_KeypadMapper

This little linux xorg daemon allows you to map the side keypad of the Razer Naga series mice via a configuration file called mapping.txt under $HOME/.naga/
Other
105 stars 32 forks source link

Change keymap and get keymap with terminal command? #35

Open ipsod opened 7 years ago

ipsod commented 7 years ago

I'd like to be able to change the keymap (rotate or exact) and get the current keymap number from terminal.

I've got one of the 2014 Naga's, so I don't want to use one of my 12 buttons to change the keymap. Also, it'd be easier to set the keymap directly for whatever task I was doing than to rotate through and test until I figured out I was on the right one.

apocatarsis commented 7 years ago

That would require for ./naga to be a little more sofisticated, like handling signals or having a cli or having a kind of server client interface so you can call "naga change_keymap" from cli and it would not start another instance if one is already running. Will keep it in mind. Maybe if I find some more uses for a feature like this I will write it.

ipsod commented 7 years ago

Cool, thank you!

My use would be having special shortcuts for certain programs. One map for Gimp, one map for PyCharm, one for general use, etc.