Is it possible to remap keyboard keys in LinuxCNC / PathPilot
- sagreen
- Offline
- Junior Member
-
Less
More
- Posts: 28
- Thank you received: 4
30 Jul 2017 19:46 #96694
by sagreen
Is it possible to remap keyboard keys in LinuxCNC / PathPilot was created 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...
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.
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 23323
- Thank you received: 4948
31 Jul 2017 23:15 #96798
by andypugh
Replied by andypugh on topic Is it possible to remap keyboard keys in LinuxCNC / PathPilot
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
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.061 seconds