301
Mach4 General Discussion / Re: High GPU usage workaround
« on: January 20, 2017, 01:35:21 AM »
Mauri, did you know there is a command to load the gcode without generating a toolpath.
DazTheGas
DazTheGas
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
[mc.ISIG_INPUT10] = function (state) -- your choice of input
local hIo = mc.mcIoGetHandle(inst, "Keyboard/Enable")
if (state == 1) then
mc.mcIoSetState(hIo, 1) -- Turn the keyboard enable output on. The keyboard plugin will now accept keyboard input.
else
mc.mcIoSetState(hIo, 0) -- Turn the keyboard enable output off. The keyboard plugin will not accept keyboard input.
end
end,