# Include your custom_postgui HAL commands here loadrt or2 count=2 loadrt mux4 count=1 addf or2.0 servo-thread addf or2.1 servo-thread addf mux4.0 servo-thread # set the jog speed for the joypad again use numbers that make sense for your machine setp mux4.0.in0 0 # this one must be 0 to prevent motion unless a button is pressed setp mux4.0.in1 25 setp mux4.0.in2 100 setp mux4.0.in3 800 # the following does the magic of setting the jog speeds net remote-speed-slow or2.0.in0 input.0.btn-top net remote-speed-medium or2.1.in0 input.0.btn-base net remote-speed-fast or2.0.in1 or2.1.in1 input.0.btn-base2 net joy-speed-1 mux4.0.sel0 <= or2.0.out net joy-speed-2 mux4.0.sel1 <= or2.1.out net joy-speed-final halui.joint.jog-speed <= mux4.0.out net joy-x-jog halui.axis.x.analog <= input.0.abs-x-position net joy-y-jog halui.axis.y.analog <= input.0.abs-y-position net joy-z-jog halui.axis.z.analog <= input.0.abs-rz-position # This file will not be overwritten when you run PNCconf again