Welcome, Guest. Please login or register.
Did you miss your activation email?
October 23, 2017, 08:21:12 AM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  Mach SDK plugin questions and answers.
| | |-+  Finished Plugins for Download
| | | |-+  USB JoyPad and game device plugin - New Version 2.0
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 »   Go Down
Print
Author Topic: USB JoyPad and game device plugin - New Version 2.0  (Read 149264 times)
0 Members and 1 Guest are viewing this topic.
richcam1
Active Member

Offline Offline

Posts: 5


View Profile
« Reply #150 on: July 14, 2015, 11:33:36 AM »

Ahh, I figured out what is going on thanks to "Nicad" in post #109.  I think it is a bit of a bug.  It works fine in "Continuos jog" and then fine in "incremental jog" but when you want to switch back to "Continuos jog" Mach does not switch the jog mode to "continuos" it is staying in "incremental". 

If I switch it in Mach it works fine, if I don't the machine runs away.

Can you put in a tad of code to tell mach to switch to "continuos jog" mode when the user pushes that combo of buttons?

Thanks much!

BTW, I and others would be fine with giving you donations for making this plug-in and maintaining it.  Perhaps a paypal account or something where we can donate?

Logged
area51
Active Member

Offline Offline

Posts: 98



View Profile WWW
« Reply #151 on: July 14, 2015, 06:22:30 PM »

As I have no way of trying this my self, I want to be sure, where things goes wrong:

1) Manually setting Jog Mode to Cont. in dialog before jog continuous on JoyPad: Working OK.
2) Manually setting Jog Mode to Step in dialog before jog stepping on JoyPad: Working OK.
3) Manually setting Jog Mode to Cont. in dialog before jog stepping on JoyPad: Working (and mode changes to step).
4) Manually setting Jog Mode to Step in dialog before jog continuous on JoyPad: Runaway (and mode stays in step).

To prevent runaway the jogging mode has to manually be set to Cont. before using continuous jog on the JoyPad.

Is this correct?

I have looked at the 4 years old code and there are no quick fix. Would you be willing to test a beta plugin if I could make a bug fixed version?

Thank you for the suggestion on making a donation button - that would make it possible to buy the missing test hardware. If anyone have experience in that field I would like suggestions on how to best do that (PM me please  Smiley).
Logged

Visit the JoyPad plugin Home at http://joakim.dk/joypad for the latest version and info.
richcam1
Active Member

Offline Offline

Posts: 5


View Profile
« Reply #152 on: July 14, 2015, 09:26:20 PM »

Hi Area 51,

I made a video to show how it is reacting on my machine Smiley

https://youtu.be/o4c8EIynfd8

I would be happy to try beta versions!

I have never set-up a donate thing but, I will throw you some $ if you figure it out.

Let me know what you think of the video...
Logged
area51
Active Member

Offline Offline

Posts: 98



View Profile WWW
« Reply #153 on: July 15, 2015, 08:59:27 AM »

Great video!
Clearly explains the problem - Thank you.

I will make a quick test to see if the problem can be fixed by updating the jog mode prior to jogging.
First have to reestablish my old develop environment to compile a new version...
Logged

Visit the JoyPad plugin Home at http://joakim.dk/joypad for the latest version and info.
richcam1
Active Member

Offline Offline

Posts: 5


View Profile
« Reply #154 on: July 15, 2015, 10:24:56 AM »

great, let me know if I can help!

Its a very useful plug-in makes my machine easier to use and faster to work on.

Perhaps a crowed finding page for donations?
Logged
area51
Active Member

Offline Offline

Posts: 98



View Profile WWW
« Reply #155 on: July 17, 2015, 10:42:02 AM »

Thank you - I would appreciate your help in testing.
I send you a PM with a link to a test version I think removes the problem.
Logged

Visit the JoyPad plugin Home at http://joakim.dk/joypad for the latest version and info.
area51
Active Member

Offline Offline

Posts: 98



View Profile WWW
« Reply #156 on: July 30, 2015, 08:52:54 PM »

First, I am happy to announce that the JoyPad and Game device plugin for Mach now has its own homepage! Cheesy

http://joakim.dk/joypad

As a bonus you will find an updated plugin in the download section, fixing the run-away problem seen when using the popular Ethernet Smooth Stepper (ESS).

If you find the JoyPad plugin and JoyPadSetup program useful, please consider using the donate button - you decide how much the plugin is worth to you.
Plugin development is a spare time project with no funding... but there are expenses...

richcam1 has been alpha testing the updated plugin on his installation and reported that the problem seems to be solved. Thank you.

Try the plugin - only the jogging code has been altered.
Remember to enable the plugin in Mach menu Config -> Congfig Plugins any previous setting is preserved.
If you have any problems, just reinstall the previous plugin version.

User this thread for feedback.

- Joakim
Logged

Visit the JoyPad plugin Home at http://joakim.dk/joypad for the latest version and info.
richcam1
Active Member

Offline Offline

Posts: 5


View Profile
« Reply #157 on: August 01, 2015, 06:56:39 PM »

Yeah, I have been using my ESS machine with no problems with a generic PS3 USB wired controller with no problems!  It is great to have joystick control! 

Great Joakim!  I would encourage others that find this plugin useful to donate something to Joakim!

Rich
Logged
Jarhead
Active Member

Offline Offline

Posts: 85


View Profile
« Reply #158 on: August 03, 2015, 08:36:49 AM »

I really wanna get this plugin working but I'm having some problems understanding the mapping. I'm using a Logitech Wingman rumblepad, It doesn't have the standard NESW buttons but instead, has six buttons and only two "index finger" buttons. How do I know which actual buttons correlate to the plugin buttons?
Shouldn't there be a "Device Mapping" section that recognizes which button I press and tells what that button correlates to??
 
Logged
area51
Active Member

Offline Offline

Posts: 98



View Profile WWW
« Reply #159 on: August 03, 2015, 09:24:07 AM »

Use the Game Devices dialog in Control Panel/Devices and Printers. I will show the button numbers when pressed.
Logged

Visit the JoyPad plugin Home at http://joakim.dk/joypad for the latest version and info.
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 »   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.20 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!