Giter Site home page Giter Site logo

rockband-4-midi-drums's People

Contributors

delabrcd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

rockband-4-midi-drums's Issues

Doesn't work for MadCatz drum brain

First of all, thank you so much for putting this together! I have been looking for a way to use an electronic drum kit with my Xbox without having to spend an arm and a leg on an adapter, or having to learn hardware engineering ๐Ÿ˜“

I'm writing this issue to keep track of something I encountered while programming my Arduino board for the MadCatz drum brain.

The Issue

The existing configuration for the Arduino doesn't seem to work with the Mad Catz drum brain.


Additional Info

I found out that there are two types of Rock Band 4 Drum brains. One is the PDP, which is the one this is configured for, and the other is MadCatz. I have the MadCatz drum brain and had to make some alterations to the code. I have a mess in a branch https://github.com/DrkCloudStrife/rockband-4-midi-drums/compare/master...DrkCloudStrife:rockband-4-midi-drums:madcatz-rb4-config?expand=1, and I'm looking into making this into a configuration that can be switched in the main.cpp code. Maybe a struct or something, I have to read more about it.

The extra steps I had to do while troubleshooting were:

  1. Ensure the drum brain firmware is the latest via https://harmonix.zendesk.com/hc/en-us/articles/218238387-How-To-Update-Your-Xbox-One-MadCatz-Firmware
  2. For the MadCatz brain, I had to invert the kick outputs for it to work
  3. I changed the mappings to match the toy drums for my personal configuration

I want to clean up my branch to include these as options in the code. e.g.

// Compile code based on the drum brain type.
//   0 = PDP
//   1 = MadCatz
#define DRUM_BRAIN_TYPE 0
...
// Then where the code differs between brain types:

if (DRUM_BRAIN_TYPE == 0) 
{
  // Do something specific for PDP brain
}
else #maybe else if?
{
  // Do something specific for MadCatz
}

However, I don't know if this will bloat the code... Another option was to simply use

// Enable if using MadCatz
# #define DRUM_BRAIN_MADCATZ
...
// Then where the code differs
#ifdef DRUM_BRAIN_MADCATZ
  // only compile code for MadCatz
#else
  // Only compile code for PDP
#endif

I will spend some time finding the best way to approach a more configurable solution without breaking your original implementation.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.