mockband

Firmware for Wii Rock Band guitar and drum kit
git clone https://git.woozle.org/neale/mockband.git

commit
8c8549d
parent
8e88369
author
Neale Pickett
date
2024-01-15 09:05:47 -0700 MST
More information in README
1 files changed,  +33, -8
M README.md
+33, -8
 1@@ -1,4 +1,9 @@
 2-# Mock Band
 3+---
 4+gitea: none
 5+include_toc: true
 6+---
 7+
 8+# Introduction
 9 
10 Microcontroller Firmware to emulate guitar and drum kit controllers from the 
11 Wii version of the Rock Band games.
12@@ -66,10 +71,30 @@ I'm sorry I didn't photograph or record any of this,
13 but it was pretty straightforward.
14 
15 
16-# Compiling
17+# Building
18+
19+This will compile in the Arduino IDE,
20+or on the commandline using `make`.
21+
22+## Command Line
23+
24+Just run `make` on a Unix system.
25+I set up paths for my Debian install of Arduino 1.8;
26+you may need to adjust them if your setup has different paths.
27+
28+There is a `flash-%` target that will upload the built firmware to a Pro Micro.
29+The following targets exist:
30+
31+   make flash-guitar        # Guitar firmware
32+   make flash-guitar-wammy  # Guitar firmware with wammy bar
33+   make flash-drums         # Drums firmware
34+
35+## Arduino
36 
37-This compiles in the Arduino IDE.
38-It doesn't have any library dependencies.
39+Mockband has no library dependencies,
40+and as far as I can tell,
41+will work with the built-in Leonardo profile,
42+even though you're uploading to a Pro Micro.
43 
44 You need to make two edits to `boards.txt`.
45 Instructions for this are all over the place.
46@@ -80,7 +105,7 @@ Don't edit anything that doesn't say `build` on the line! I can't help you if yo
47 In my examples, I'm editing the lines for the leonardo build. Yours might be different:
48 it should match the board you're using.
49 
50-## Build flags
51+### Build flags
52 
53 This disables serial communications on the board.
54 
55@@ -89,7 +114,7 @@ This disables serial communications on the board.
56 Hat tip to Nicholas Angle for figuring this out
57 so I didn't have to.
58 
59-## VID and PID
60+### VID and PID
61 
62 These set the USB identifiers.
63 VID is the Vendor ID,
64@@ -98,7 +123,7 @@ and PID is the Product ID.
65 `0x1bad` means "Harmonix Music",
66 at least, it does to the Linux kernel.
67 
68-### For guitar
69+#### For guitar
70 
71 PID `0x004` means "Guitar controller".
72 
73@@ -107,7 +132,7 @@ PID `0x004` means "Guitar controller".
74     leonardo.build.usb_product="Mockband Guitar"
75 
76 
77-### For drums
78+#### For drums
79 
80 PID `0x3110` means "Rock Band 2 drums".
81 This works better with all versions of Rock Band on my wii,