First thanks to all that have contributed to this effort on the xBox controller.
I saw that the plugin was already present in the plugins directory so,
What I did:
Watched the video twice.
Enabled the xBox360 plugin. Restarted Mach4.
From 'Diagnostics->RegFile I can see the Btn_B entry change from 0 to one when I press the xBox B
copied the code from Franco (I am using on a lathe as well):
https://www.machsupport.com/forum/index.php/topic,33121.30.htmlreply 31
Created the Lua panel and inserted the code
Saved the changes.
Added the on unload script to check to see if the timer is still running.
From the history button I see: 'mcX360 found and active'.
Pressing the B button nothing happens but shows in the RegFile as being changed.
The GetXin function and the X360_Panel:Connect are being constantly called.(Put a wxMessageBox in the function, thanks for the command line \e tip)
Neither the EStop_panel:Connect nor the Btns-Panel:Connect are ever called.
What did I miss?
TIA
RT