summaryrefslogtreecommitdiff
path: root/software/rhmixxx/analog.h
diff options
context:
space:
mode:
Diffstat (limited to 'software/rhmixxx/analog.h')
-rw-r--r--software/rhmixxx/analog.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/software/rhmixxx/analog.h b/software/rhmixxx/analog.h
new file mode 100644
index 0000000..925f5a6
--- /dev/null
+++ b/software/rhmixxx/analog.h
@@ -0,0 +1,31 @@
+/*
+ * rhmidi
+ *
+ * Copyright (C) 2014 Christian Pointner <equinox@helsinki.at>
+ *
+ * This file is part of rhmidi.
+ *
+ * rhmidi is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * any later version.
+ *
+ * rhmidi is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with rhmidi. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef RHMIXXX_analog_h_INCLUDED
+#define RHMIXXX_analog_h_INCLUDED
+
+#define ANALOG_NUM_INPUTS 8
+#define ANALOG_MIDI_NOTE_OFFSET 64
+
+void analog_init(void);
+void analog_task(void);
+
+#endif