Neale Pickett
·
2024-01-04
standard.hh
1#pragma once
2
3// Standard setup for a Pro Micro
4
5/*
6 * Don't forget to do this (guitar pid=0x0004, drum pid=0x0005):
7
8< micro.build.vid=0x2341
9< micro.build.pid=0x8037
10--
11> micro.build.vid=0x1bad
12> micro.build.pid=0x0004
13
14< micro.build.extra_flags={build.usb_flags}
15---
16> micro.build.extra_flags={build.usb_flags} -DCDC_DISABLED
17
18 */
19
20const int STRUM_DOWN = 0;
21const int STRUM_UP = 1;
22const int TILT_SWITCH = 2;
23
24const int BUTTON_GREEN = 3;
25const int BUTTON_RED = 4;
26const int BUTTON_YELLOW = 5;
27const int BUTTON_BLUE = 6;
28const int BUTTON_ORANGE = 7;
29
30const int SOLO_GREEN = 20;
31const int SOLO_RED = 19;
32const int SOLO_YELLOW = 18;
33const int SOLO_BLUE = 15;
34const int SOLO_ORANGE = 14;
35
36
37const int BUTTON_PLUS = 10;
38const int BUTTON_MINUS = 16;
39
40const int ANALOG_WAMMY = 9;
41const int ANALOG_DPAD = 21;