Machsupport Forum
Mach Discussion => Mach4 General Discussion => Topic started by: DazTheGas on October 27, 2015, 06:18:48 PM
-
Heres some good news for Mach4 users.
Couple of days ago I got to use an xbox 360 controller on mach3, wow I wanted one.
But there isnt one??
Well there is now ;D
Just got to finish the config screen and its all yours.
DazTheGas
-
you a top man daz you need a pay rise
-
Once again, another incredible contribution for mach4. Thanks DazTheGas!!
-
Daz, may I ask are you doing all this through lua script or via the SDK?
How long have you been doing lua?
Have you done programming before?
Either way, very impressed, hats off to you
Rob
-
Been programming different languages for 15 years or more, only started lua when I got mach4, the plugin is in c++ using the sdk, although im thinking of making the workings of what each button does done through lua, this way everyone can program the buttons to do what they want.
Any thoughts welcome, I wont have a pc tonight as I am away just this stupid ipad, but hoping to have it uploaded on friday.
DazTheGas
PS just remembered my first programming was in basic on the commodore64, crikey........
-
I too want to thank you for your contributions. For dummies like me a few Lua tuts broken down so as the logic to the language can be understood would be so helpful as I feel so dependant on those that know how to script, they key to mach4 (at this time) is to know how to write script. Then the skies the limit.
Today I managed to modify my inputs script to allow a red button to stop the cycle feed and stop the spindle. One small step........ :) My panel is coming together. MPGs and touch probe next. I think it can be done!
Is there a list of input names like cycle start, feed hold, cycle stop, emergency stop etc etc so scripts can be written to match my pokeys buttons?
Cheers Paul.
-
Been programming different languages for 15 years or more.......................................
PS just remembered my first programming was in basic on the commodore64, crikey........
Commodore 64 was about 30 years ago...
-
Heck!! doesnt time fly..
-
Is there a list of input names like cycle start, feed hold, cycle stop, emergency stop etc etc so scripts can be written to match my pokeys buttons?
Look in the API docs within the mach4hobby/docs directory and all is under signals
DazTheGas
-
Is there a list of input names like cycle start, feed hold, cycle stop, emergency stop etc etc so scripts can be written to match my pokeys buttons?
Look in the API docs within the mach4hobby/docs directory and all is under signals
DazTheGas
Perfect!