Is it possible to remap keyboard keys in LinuxCNC / PathPilot

More
30 Jul 2017 19:46 #96694 by sagreen
Seems there should be a simple answer for this, but I cant find anything on the boards that talks about remapping keys in LinuxCNC. I'm actually using PathPilot, but would like to swap my right and left arrow keys, as well as my up / down keys.

Anyone know how to do this? Can it be done without a code change?

Scott...

Please Log in or Create an account to join the conversation.

More
31 Jul 2017 23:15 #96798 by andypugh
It can be done in Axis. Probably not in PathPilot.

For axis, if you modify the instructions here:
forum.linuxcnc.org/38-general-linuxcnc-q...gging?start=10#62208

to change rather than delete the mappings.

You can see what Axis has by default for simple keys here:
github.com/LinuxCNC/linuxcnc/blob/2.7/sr...cripts/axis.py#L2735

The axis-jogging keys are different for lathe, so get set here:
github.com/LinuxCNC/linuxcnc/blob/2.7/sr...cripts/axis.py#L2896
Called from here:
github.com/LinuxCNC/linuxcnc/blob/2.7/sr...cripts/axis.py#L3094

Please Log in or Create an account to join the conversation.

Time to create page: 0.125 seconds
Powered by Kunena Forum