Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: adds analog heat +fx. #50

Merged
merged 1 commit into from
Aug 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
15 changes: 15 additions & 0 deletions res/devices.json
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,21 @@
"FX Return L",
"FX Return R"
]
}, {
"pid": 32,
"name": "Analog Heat +FX",
"input_track_names": [
"Main L Input",
"Main R Input",
"FX Send L",
"FX Send R"
],
"output_track_names": [
"Main L",
"Main R",
"FX Return L",
"FX Return R"
]
}, {
"pid": 30,
"name": "Syntakt",
Expand Down
13 changes: 12 additions & 1 deletion src/overwitch.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
#define AHMK2_PID 0x0016
#define DKEYS_PID 0x001c
#define STAKT_PID 0x001e
#define AHFX_PID 0x0020

#define DEV_TAG_PID "pid"
#define DEV_TAG_NAME "name"
Expand Down Expand Up @@ -130,6 +131,16 @@ static const struct ow_device_desc_static AHMK2_DESC = {
.output_track_names = {"Main L", "Main R", "FX Return L", "FX Return R"}
};

static const struct ow_device_desc_static AHFX_DESC = {
.pid = AHFX_PID,
.name = "Analog Heat +FX",
.inputs = 4,
.outputs = 4,
.input_track_names =
{"Main L Input", "Main R Input", "FX Send L", "FX Send R"},
.output_track_names = {"Main L", "Main R", "FX Return L", "FX Return R"}
};

static const struct ow_device_desc_static STAKT_DESC = {
.pid = STAKT_PID,
.name = "Syntakt",
Expand All @@ -147,7 +158,7 @@ static const struct ow_device_desc_static STAKT_DESC = {

static const struct ow_device_desc_static *OB_DEVICE_DESCS[] = {
&DIGITAKT_DESC, &DIGITONE_DESC, &AFMK2_DESC, &ARMK2_DESC, &DKEYS_DESC,
&AHMK1_DESC, &AHMK2_DESC, &STAKT_DESC, NULL
&AHMK1_DESC, &AHMK2_DESC, &AHFX_DESC, &STAKT_DESC, NULL
};
#endif

Expand Down