friedhof:otus
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende ÜberarbeitungNächste ÜberarbeitungBeide Seiten der Revision | ||
project:otus [2011-05-17 21:50] – ::ffff:93.231.143.25 | project:otus [2013-05-29 10:07] – [Linux] 91.203.212.124 | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
====== OTUS ====== | ====== OTUS ====== | ||
+ | {{tag> | ||
+ | |||
[[leute: | [[leute: | ||
Be nice, don't scratch it, don't drown it in club-mate. | Be nice, don't scratch it, don't drown it in club-mate. | ||
Zeile 19: | Zeile 21: | ||
==== Linux ==== | ==== Linux ==== | ||
EKS claimed support for Linux, that's why hadez bought the damn thing. | EKS claimed support for Linux, that's why hadez bought the damn thing. | ||
- | Turns out there' | + | <del>Turns out there' |
+ | |||
+ | * [[https:// | ||
+ | |||
+ | There is [[http:// | ||
+ | ===== Protocol ===== | ||
+ | typedef struct OTUSMsg_ { | ||
+ | unsigned short magic; | ||
+ | |||
+ | unsigned short jog0Rot; | ||
+ | signed short jog0Speed; | ||
+ | |||
+ | unsigned int timestamp; | ||
+ | |||
+ | unsigned int _0a_0d_reserved; | ||
+ | |||
+ | unsigned char jog2Rot; | ||
+ | unsigned char jog4Rot; | ||
+ | unsigned char jog3Rot; | ||
+ | unsigned char jog1Rot; | ||
+ | |||
+ | unsigned short rotAGain; | ||
+ | unsigned short rotBGain; | ||
+ | unsigned short rotAHigh; | ||
+ | unsigned short rotBHigh; | ||
+ | unsigned short rotAMid; | ||
+ | unsigned short rotBMid; | ||
+ | unsigned short rotALow; | ||
+ | unsigned short rotBLow; | ||
+ | |||
+ | unsigned short rotXFader; | ||
+ | unsigned short rotMaster; | ||
+ | |||
+ | unsigned short padY; // 0x0000..0xffff, | ||
+ | unsigned short padX; // 0x0000..0xffff, | ||
+ | unsigned short pitchA; | ||
+ | unsigned short pitchB; | ||
+ | |||
+ | unsigned int buttons; | ||
+ | |||
+ | unsigned char filler; | ||
+ | unsigned char msgCounter; | ||
+ | unsigned short status; | ||
+ | |||
+ | unsigned char _36_reserved; | ||
+ | unsigned char _37_reserved; | ||
+ | unsigned int _38_3b_reserved; | ||
+ | unsigned int _3c_3f_reserved; | ||
+ | } __attribute__((__packed__)) OTUSMsg; | ||
+ | |||
+ | |||
+ | // button mapping for the OTUSMsg.buttons field | ||
+ | #define OTUS_BUTTON_PLAYPAUSE | ||
+ | #define OTUS_BUTTON_UNKNOWN3 | ||
+ | #define OTUS_BUTTON_JOG3 | ||
+ | #define OTUS_BUTTON_RETURNLEFT | ||
+ | #define OTUS_BUTTON_SHIFT | ||
+ | #define OTUS_BUTTON_RETURNRIGHT | ||
+ | #define OTUS_BUTTON_JOG4 | ||
+ | #define OTUS_BUTTON_PITCH_SCALE | ||
+ | #define OTUS_BUTTON_LOOP | ||
+ | #define OTUS_BUTTON_LOOPOUT | ||
+ | #define OTUS_BUTTON_LOOPIN | ||
+ | #define OTUS_BUTTON_LOOPFULL | ||
+ | #define OTUS_BUTTON_LOOPHALF | ||
+ | #define OTUS_BUTTON_LOOPQUARTER | ||
+ | #define OTUS_BUTTON_LOOPEIGTH | ||
+ | #define OTUS_BUTTON_JOG2 | ||
+ | #define OTUS_BUTTON_XYPAD | ||
+ | #define OTUS_BUTTON_PITCH | ||
+ | #define OTUS_BUTTON_USER5 | ||
+ | #define OTUS_BUTTON_USER4 | ||
+ | #define OTUS_BUTTON_USER3 | ||
+ | #define OTUS_BUTTON_USER2 | ||
+ | #define OTUS_BUTTON_USER1 | ||
+ | #define OTUS_BUTTON_USER0 | ||
+ | #define OTUS_BUTTON_MOUSERIGHT | ||
+ | #define OTUS_BUTTON_MOUSELEFT | ||
+ | #define OTUS_BUTTON_MOUSELEFT | ||
+ | #define OTUS_BUTTON_JOG0 | ||
+ | #define OTUS_BUTTON_JOG1 | ||
+ | #define OTUS_BUTTON_FASTFORWARD | ||
+ | #define OTUS_BUTTON_UNKNOWN1 | ||
+ | #define OTUS_BUTTON_UNKNOWN2 | ||
+ | #define OTUS_BUTTON_CUE | ||
+ | |||
+ | // IDs for value knobs | ||
+ | #define OTUS_VALUE_JOG0ROT | ||
+ | #define OTUS_VALUE_JOG0SPEED | ||
+ | #define OTUS_VALUE_JOG1ROT | ||
+ | #define OTUS_VALUE_JOG2ROT | ||
+ | #define OTUS_VALUE_JOG3ROT | ||
+ | #define OTUS_VALUE_JOG4ROT | ||
+ | #define OTUS_VALUE_GAINA | ||
+ | #define OTUS_VALUE_GAINB | ||
+ | #define OTUS_VALUE_GAINM | ||
+ | #define OTUS_VALUE_HIGHA | ||
+ | #define OTUS_VALUE_HIGHB | ||
+ | #define OTUS_VALUE_MIDA | ||
+ | #define OTUS_VALUE_MIDB | ||
+ | #define OTUS_VALUE_LOWA | ||
+ | #define OTUS_VALUE_LOWB | ||
+ | #define OTUS_VALUE_XFADER | ||
+ | #define OTUS_VALUE_PITCHA | ||
+ | #define OTUS_VALUE_PITCHB | ||
+ | #define OTUS_VALUE_PADX | ||
+ | #define OTUS_VALUE_PADY | ||
- | * |
friedhof/otus.txt · Zuletzt geändert: 2020-07-20 11:43 von neos