Giter Club home page Giter Club logo

iidx-controller's Introduction

iidx-controller

Software that enables you to create your own Arduino based beatmania IIDX controller.

Features

  • HID lighting support (that works with btools and ttools).
  • GUI configuration tool.
  • Multiple input methods (joystick, keyboard, mouse).

Requirements

  • An Arduino Leonardo (technically compatible with any ATmega32U4 based board, but only tested with a Leonardo).
  • The Bounce2 library.

Uploading the code

Because this code uses LUFA, the process of uploading is a bit more different.

  1. Add https://github.com/CrazyRedMachine/Arduino-Lufa/raw/master/package_arduino-lufa_index.json as an Additional Board Manager URL (in File -> Preferences menu)
  2. Install LUFA AVR Boards from the Board Manager
  3. Select Arduino Leonardo (LUFA) as your board type
  4. Hit Upload

NOTE: To upload new code, you need to press reset in the GUI or on your board when the IDE shows PORTS {COM1, COM6, } / {COM1, COM6, } => {} or something similar in the log. (to enable showing this, check File -> Preferences -> Show verbose output during: -> Upload)

Setup

Buttons:

  • One terminal to GND and the other terminal to the corresponding pin.

LEDs:

  • Positive terminal to corresponding pin.
  • Negative terminal to GND.

Encoder:

  • Connect the encoder's wires to the corresponding pins.
  • Set ENCODER_PPR in iidx-controller/config.h to the PPR of your encoder.

Manufacturer name:

  • By setting MF_NAME in iidx-controller/config.h, you can change the manufacturer name of your controller.
  • You can change this to whatever you'd like, such as your name.

Info:

  • Pinouts are available in iidx-controller/config.h, you can edit them there if necessary.
  • Leonardo pinout (what the numbers in the codes pinout arrays mean) at the bottom of this page.
  • Additional settings can be configured via the GUI, more info here

Thanks

Leonardo pinout

Leo pinout

iidx-controller's People

Contributors

crazyredmachine avatar gladuin avatar mnm-isola avatar veroxzik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

iidx-controller's Issues

LED always on ?

Hello,

please bear with me, my issue may be due to me not understanding Gladuin and HID LED in IIDX entirely.

My issue:
When i connect the Gladuin-powered IIDX controller to PC USB, all LED light up constantly.
The desired behaviour however is, that the LED are off, unless a corressponding button is pressed.

What do I actually miss here?

If there is a discord or any other resource available pls let me know.

Thx for any help in advance!
Alex

about PIN out

cause some reason, i don't want to find the Pin of SS in Arduino Leonardo. and if i want misc button 4 with none light, i just change in config.h and will work? such as below
/* PINOUT */
// Pins where the LEDs are connected to
static const uint8_t led_pins[] = {
2, // button 1 led
4, // button 2 led
6, // button 3 led
8, // button 4 led
10, // button 5 led
12, // button 6 led
18, // button 7 led
20, // misc button 1 led
22, // misc button 2 led
14, // misc button 3 led
17 // misc button 4 led
};

// Pins where the buttons are connected to
static const uint8_t button_pins[] = {
    3,    // button 1
    5,    // button 2
    7,    // button 3
    9,    // button 4
    11,   // button 5
    13,   // button 6
    19,   // button 7
    21,   // misc button 1
    23,   // misc button 2
    15,   // misc button 3
    16    // misc button 4
};

Re-compile config-tool to avoid confusion for people using the spoof

So, I was using the config tool that was on the releases section.
Then I realized that my controller didn't get detected, after an hour I decided to run the config tool from source instead; and it worked.

I then decided to compare the code that got released for v1.1 and the latest commit and discovered this

(Left is the source from the releases section and Right is the latest commit)

image

I don't think there's much needed to be said here now

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.