aboutsummaryrefslogtreecommitdiff
path: root/pluginhost~/src
diff options
context:
space:
mode:
Diffstat (limited to 'pluginhost~/src')
-rw-r--r--pluginhost~/src/handlers_pd.c22
-rw-r--r--pluginhost~/src/ph_common.h2
2 files changed, 22 insertions, 2 deletions
diff --git a/pluginhost~/src/handlers_pd.c b/pluginhost~/src/handlers_pd.c
index 614c16f..53e4c40 100644
--- a/pluginhost~/src/handlers_pd.c
+++ b/pluginhost~/src/handlers_pd.c
@@ -931,18 +931,38 @@ void handle_pd_dssi(ph *x, t_symbol *s, int argc, t_atom *argv)
char *p = encode_7in6(x->instances[instance].perf_buffer,
DX7_PERFORMANCE_SIZE);
debug = ph_send_configure(x, "performance", p, instance);
+ } else if (!strcmp(key, "mod_wheel_assign")) {
+ x->instances[instance].perf_buffer[10] = atoi(value);
+ char *p = encode_7in6(x->instances[instance].perf_buffer,
+ DX7_PERFORMANCE_SIZE);
+ debug = ph_send_configure(x, "performance", p, instance);
} else if (!strcmp(key, "foot_sensitivity")) {
x->instances[instance].perf_buffer[11] = atoi(value);
char *p = encode_7in6(x->instances[instance].perf_buffer,
DX7_PERFORMANCE_SIZE);
debug = ph_send_configure(x, "performance", p, instance);
+ } else if (!strcmp(key, "foot_assign")) {
+ x->instances[instance].perf_buffer[12] = atoi(value);
+ char *p = encode_7in6(x->instances[instance].perf_buffer,
+ DX7_PERFORMANCE_SIZE);
+ debug = ph_send_configure(x, "performance", p, instance);
} else if (!strcmp(key, "pressure_sensitivity")) {
x->instances[instance].perf_buffer[13] = atoi(value);
char *p = encode_7in6(x->instances[instance].perf_buffer,
DX7_PERFORMANCE_SIZE);
debug = ph_send_configure(x, "performance", p, instance);
+ } else if (!strcmp(key, "pressure_assign")) {
+ x->instances[instance].perf_buffer[14] = atoi(value);
+ char *p = encode_7in6(x->instances[instance].perf_buffer,
+ DX7_PERFORMANCE_SIZE);
+ debug = ph_send_configure(x, "performance", p, instance);
} else if (!strcmp(key, "breath_sensitivity")) {
- x->instances[instance].perf_buffer[4] = atoi(value);
+ x->instances[instance].perf_buffer[15] = atoi(value);
+ char *p = encode_7in6(x->instances[instance].perf_buffer,
+ DX7_PERFORMANCE_SIZE);
+ debug = ph_send_configure(x, "performance", p, instance);
+ } else if (!strcmp(key, "breath_assign")) {
+ x->instances[instance].perf_buffer[16] = atoi(value);
char *p = encode_7in6(x->instances[instance].perf_buffer,
DX7_PERFORMANCE_SIZE);
debug = ph_send_configure(x, "performance", p, instance);
diff --git a/pluginhost~/src/ph_common.h b/pluginhost~/src/ph_common.h
index 0e7be30..a3d57a9 100644
--- a/pluginhost~/src/ph_common.h
+++ b/pluginhost~/src/ph_common.h
@@ -34,7 +34,7 @@
#include "dssi.h"
#define PH_NAME "pluginhost~"
-#define PH_VERSION 0.99
+#define PH_VERSION 0.997
#define EVENT_BUFSIZE 1024
#define OSC_PORT 9998
#define UI_TARGET_ELEMS 2