Would it be possible to put a timer on the button hold so that the leds would do something whenever the buster is fully charged? That actually seems like it would be functional. I don’t even really play Marvel but seems like a cool idea.
Thats what I thought. If that ever happens it would be amazing. My mind is overflowing with the possibilities. Pandora/X-Factor animations (seems like it might actually be possible for Pandora since there is a joystick and specific button input for it’s activation), Tag in changes color scheme/animations, Taking damage as one color, chip another, Stance changes making different animations load, push block or burst flash…The more I think about it some of those might actually be possible.
Yeah thats not an issue. If you want the animation to take precedent over all the other buttons you might be pressing then its fairly simple to implement.
And yeah, most of the items you mentioned are possible… the damage/chip ones aren’t going to happen, but the others are all based on stick inputs so those are fair game.
Thanks @jwyder, glad to see the code worked out for you.
I sent @armi0024 the latest and hopefully ready for public release Kaimana class library this evening. The new code is probably 98% the same as what you are working with now but with a few more constants defined, cleaner code formatting and a few optimizations. I also added an animation for Ryu’s Ultra 2/Metsu Hadouken combo. Looks like armi0024 added the Tatsumaki Senpukyaku/Hurricane Kick today and the original Hadouken/Fireball is still in there. We just need submissions for the other 3 animations and Ryu has a full house in the example code.
It’s fun to finally be at the point with the Kaimana where I have nothing more to worry about than dreaming up animations.
@YellowCan that case has way cleaner wiring than my setup.
@armi0024 just to confirm that you have coded the Tatsumaki Senpukyaku/Hurricane Kick? I don’t want to duplicate your efforts and plan on working on a different animation.
@iNENDOi it would not be difficult to code a routine to see if a switch is being held down. In fact, you would do it the same way you debounce a switch in software. Just keep a counter that you increment each time you poll the switch and it is on. If the switch is off reset the counter to zero.
@PlayDoh003 I would think the rumble could somehow be connected to one of the Kaimana inputs. You could then do the same sort of debounce I mentioned above to see how long or hard the motor is run. This actually sounds like something really fun to try.
I guess just the Kaimana Js will always be better looking than with Pele’s+Adapter board. @armi0024 When did you think you will get those three bi-color balltops in stock.
@armi0024 I sent you the latest updates to the Kaimana class library. The changes are for the most part are fine tuning with combined updates submitted by @jwyder and myself. At this point I have nothing more to add to the library so it should be ready the community to give it a spin on their Kaimana boards.
Got my setup in today and install went smoothly. I put it in a Madcatz Fightstick Pro, no too difficult. I’m really happy with the results! Switched over to the kaimana-master code and has a few issues with compiling but once I got past that and got the drivers properly installed I was able to upload and everything is working. Hard part is done
The issue, for those curious, is that there are a number of calls to kaimana.update() in the animations.cpp file but that sub doesnt exist. Change them to kaimana.updateALL() and you are set. I am not sure if that is correct exactly but it compiles and I am getting animations to play for shoryu/hadu etc
My kaimana also shows up on my pc as a HID Mouse. is that normal?
@armi0024 and @jwyder, I downloaded the latest master code, re-integrated the last Kaimana class library changes with the other animation contributions and send the successfully compiled and tested code back to @armi0024. Hopefully he can publish an updated copy today.
Good catch @wahoo747 and your fix is exactly what I have in the source code on my drive.
Well, the inside is nothing to write home about. It was a madcatz so it wasn’t exactly pretty or roomy in there to begin with. I just crimped a harness using male and female quick disconnects that allowed me to pull the signal side of the breakout board (and one of the grounds) over to the kaimana. So I only had to cut the jstick harness and USB cable, the button wires were just moved from breakout to kaimana harness. So, I guess I could post pics of the inside but I don’t think it will help anyone.
As for the finished product, I guess a crappy phone video is better than a pic…
Have you guys considered hosting the project source some place like Sourceforge, Google Code, or Github? It might be easier to manage/contribute to the library that way.