Hello Guest it is March 28, 2024, 11:01:22 AM

Author Topic: New PlugIn just about done..  (Read 181642 times)

0 Members and 1 Guest are viewing this topic.

Offline poppabear

*
  • *
  •  2,235 2,235
  • Briceville, TN, USA
    • View Profile
Re: New PlugIn just about done..
« Reply #80 on: July 23, 2009, 11:32:14 PM »
Extra macros could be added, but you would need to decide what buttons would fire them, and how many you want to add........

scott
fun times

Offline budman68

*
  • *
  •  2,352 2,352
    • View Profile
Re: New PlugIn just about done..
« Reply #81 on: July 24, 2009, 06:56:37 AM »

Hey, since you guys have the source code handy.....  Howzabout modifying it so we can have more than two macro buttons?  Looks like a straight-forward change to make, but I don't have VC++, so no way to compile it myself.  I'd love to have at least four macro buttons - but the more the merrier!

Regards,
Ray L.

This is exactly what I was after and I'm in the same boat as Ray as I would not be able to do any programming at all (dunce here).

Scott or Lemo, is it possible to just have pull down menus for all buttons that would include macro functions for any button of choice? Or is that getting too complicated to do?

Thanks Brett for making this available  :)

Thanks,
Dave
----------------------------------------------------------------------
Just because I'm a Global Moderator, don't assume that I know anything !

Dave->    ;)

Offline Chaoticone

*
  • *
  •  5,624 5,624
  • Precision Chaos
    • View Profile
Re: New PlugIn just about done..
« Reply #82 on: July 24, 2009, 07:39:40 AM »
Quote
Thanks Brett for making this available 

Thanks go to Art for the gift that keeps on giving.  ;D

Brett
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!

Offline lemo

*
  •  135 135
    • View Profile
Re: New PlugIn just about done..
« Reply #83 on: July 24, 2009, 01:20:49 PM »
did the changes and de installed visual studio a few month ago... so i download the current version and... it doesn;t install on Vista.. LOL.
Now I installed it on my mc under parallels running XP... I feel that this will become interesting rofl...
L
Cut five times and still to short...

Offline lemo

*
  •  135 135
    • View Profile
Re: New PlugIn just about done..
« Reply #84 on: July 24, 2009, 02:36:03 PM »
Hmmm almost there... Starts compiling and then...

CCannot open include file: TrajectoryControl.h No such file... blablabla

Can't find that header file either...

Lill help plz!

Rainer
Cut five times and still to short...

Offline lemo

*
  •  135 135
    • View Profile
Re: New PlugIn just about done..
« Reply #85 on: July 24, 2009, 03:11:09 PM »
Joy...

Ooooopsss just found this thread:

     Topic: Plugin development in VS2005, VS2008

So I guess I can't complie the plugin with 2008 anyways.... sighhhh
Any idea where I can get a dev kit which can compile that plugin?

Rainer
Cut five times and still to short...

Offline ART

*
  • *
  •  1,702 1,702
  • Tough as soggy paper.
    • View Profile
Re: New PlugIn just about done..
« Reply #86 on: July 24, 2009, 03:26:00 PM »
Hi:

  Just to kick in .. You do need VS2003 to compile the plugins, the missing h files are just the Machincludes folder that you need to install. Dont be fooled by compiling under vs2008, while it will sometimes compile the pointers get hosed and it wont work.

  Check Ebay for vs2003, but its about 85.00 these days typically. VC6 can probably do the compile as well.

There is a thread on the forum somewhere where a plugin can be made to work in vs2008, it uses different headers and has a wizard to generate the main core, but youd have to copy the relevent
parts of the plugin to the wizard created shell. Then vs2008 could recompile it. Sorry I dont have time at the moment to get involved in your project myself or Id help out. I suggest you find that VS2008 wizard for plugins if you have vs2008, it works pretty slick and woudl give you the general framework you need to make the shuttle plugin work with whatever compiler you use.

Art

Offline lemo

*
  •  135 135
    • View Profile
Re: New PlugIn just about done..
« Reply #87 on: July 24, 2009, 03:55:39 PM »
I'll see if I can find VS2003 somewhere. The MachPluginWizard doesn't seem to be ready yet.
I'm pretty busy myself and don't have to much time for experiments myself.
This will have to stay on the back burner till I get a copy of VS2003.
Thanks for the hints Art
Rainer
Cut five times and still to short...

Offline poppabear

*
  • *
  •  2,235 2,235
  • Briceville, TN, USA
    • View Profile
Re: New PlugIn just about done..
« Reply #88 on: July 26, 2009, 09:00:32 PM »
OK, those of you with a Shuttle Pro please test this plug in.

I added 10 total custom macros, and I added a "Reverse Axis" option for Axis X-C.

Let me know how the Reverse axis works, since there is another section of code that deals with jogging, but I think it is for something different, could be wrong of course.

Remember to save out your current shuttle pro .dll

Screen Shot of the new Config Screen and the "ShuttleProMod.zip" that contains the new Modded shuttle pro dll

scott
fun times
Re: New PlugIn just about done..
« Reply #89 on: July 26, 2009, 09:29:15 PM »
OK, those of you with a Shuttle Pro please test this plug in.

I added 10 total custom macros, and I added a "Reverse Axis" option for Axis X-C.

Let me know how the Reverse axis works, since there is another section of code that deals with jogging, but I think it is for something different, could be wrong of course.

Remember to save out your current shuttle pro .dll

Screen Shot of the new Config Screen and the "ShuttleProMod.zip" that contains the new Modded shuttle pro dll

scott

Scott,

I just tried the new macros, and they worked just fine.  Only bad thing is, it clobbered my previous configuration, by re-assigning many of the buttones to the new macros.  Did you change the IDs for existing button functions, rather than adding the new ones onto the end of the list?  Obviously not an issue for anyone installing from scratch, but kind of a PITA for someone upgrading.

Regards,
Ray L.
Regards,
Ray L.