Can my previous post be done? Also I got an answer from a guy in Traktor forums:
Traktor allow 2 different type of encoder... check in the preferences, MIDI mapping.
you can use 0x7h/0x01 type, which do not allow rotary sensitivity, one click/pulse of your encoder one action on the screen. The MIDI message is pretty straight forward.
- Status Byte: Control/Mode Change 0xB0 (for MIDI channel 1)
- Data Byte1: More than often a value 'round Portamento Control (0x54), but there's no real big deal with one.
- Data Byte2: 0x01 when you turn the encoder ClockWise, 0x7f for CounterClock Wise
Should you need the acceleration feature, only DataByte2 will change. But begin with it, it will be more than enough to start and probably exactly what you need.
I can't be more specific, it's plain Generic MIDI implementation, like pad and pot/faders.
I suggest you to have a look at
http://www.midi.org/techspecs/midimessages.php
For PC, you can use MIDI-OX to "emulate" a MIDI controller.