On 19 March 2017 at 18:55, Danny Miller <[email protected]> wrote: > I googled changing the key mappings so "up arrow" means X+ and it was > "you just need to change axis.py", but then "hey ok but that's this huge > program to edit". Is that currently the only way to do it or you just > need to change something in the .ini file now or what?
You can probably just make the changes you want in a new (hidden) file in the user directory called .axisrc http://linuxcnc.org/docs/html/gui/axis.html#_axisrc There are some specific instructions here, but the mail archiving software has eaten the keycodes, those quotes should not be empty. http://thread.gmane.org/gmane.linux.distributions.emc.user/12638/focus=12642 The source https://github.com/LinuxCNC/linuxcnc/blob/f6dbef332d8f88d29e3ff690f6a7338cc0e9c7e5/src/emc/usr_intf/axis/scripts/axis.py#L3503 shows the sort of format needed to determine the key codes. And instruction on how to get the codes are in the email link. But, you only really need to know <Up> and <KeyRelease-Up> with <Down> / <KeyRelease-Down> <Left> / <KeyRelease-Left> and <Right> / <KeyRelease-Right> -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial use of mechanical geniuses, daredevils and lunatics." — George Fitch, Atlanta Constitution Newspaper, 1916 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
