c0redumb / midi2vjoy

MIDI to virtual joystick mapping
BSD 2-Clause "Simplified" License
96 stars 31 forks source link

Added Pitch Wheel 0xEx mode as per issue #5 #6

Open skombijohn opened 4 years ago

skombijohn commented 4 years ago

Added Pitch Wheel 0xEx support to allow using it as an analogue axis including an example for korg Nanocontrol mapped to a 32 button 8 axis vJoy config.

Pitch Wheels are messages with first byte Ex, with 'x' being the MidiChannel of that pitchWheel.

The Korg Nanocontrol's sliders are basically 8 pitch wheels on different channels (E0, E1, etc.) I added support for that in the readout cycle, while the table creation did require some adjustments as well, as we dont care about a controller number in the table's key for these mappings.

Tested with the real device and vjoy. => Works as expected.

I also included a mapping example and an image to explain the mapping.

Side note: Somehow, all the intendation got changed and caused many unneccessary diffs...