Is it possible to remap keyboard keys in LinuxCNC / PathPilot

More
9 years 3 months ago #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 to join the conversation.

More
9 years 3 months ago #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 to join the conversation.

Time to create page: 0.069 seconds
Powered by Kunena Forum