diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2008-04-01 13:44:04 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@iem.at> | 2015-10-14 15:08:22 +0200 |
commit | 19ff5f54a824d7b3cd7f2683d9e524e446984735 (patch) | |
tree | 95d034b242bb6750cc84987dc373147ce4cd5d72 /MIDIvice/src/MIDIvice.c | |
parent | 61c0d68153b2d6e52e56e27445b961f3da62189d (diff) |
an old project - wandering whether it still works
svn path=/trunk/externals/hardware/; revision=9672
Diffstat (limited to 'MIDIvice/src/MIDIvice.c')
-rw-r--r-- | MIDIvice/src/MIDIvice.c | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/MIDIvice/src/MIDIvice.c b/MIDIvice/src/MIDIvice.c new file mode 100644 index 0000000..67cf293 --- /dev/null +++ b/MIDIvice/src/MIDIvice.c @@ -0,0 +1,36 @@ +#include "MIDIvice.h" +void motormix_setup(); + +typedef struct MIDIvice +{ + t_object t_ob; +} t_MIDIvice; + +t_class *MIDIvice_class; + +static void MIDIvice_help(void) +{ + post("\nMIDIvice "VERSION); + post("supported devices:"); + post("\tmotormix\t\tMotorMix(tm) by cm-labs(r)" + "\n"); +} + +void *MIDIvice_new(void) +{ + t_MIDIvice *x = (t_MIDIvice *)pd_new(MIDIvice_class); + return (void *)x; +} + + +void MIDIvice_setup(void) +{ + motormix_setup(); + + /* ************************************** */ + post("\n\tMIDIvice "VERSION); + post("\tcopyleft forum::für::umläute @ IEM/KUG 2002-2008"); + + MIDIvice_class = class_new(gensym("MIDIvice"), MIDIvice_new, 0, sizeof(t_MIDIvice), 0, 0); + class_addmethod(MIDIvice_class, MIDIvice_help, gensym("help"), 0); +} |