Joystick – Mouse - Dart Arduino Midi Dmx Controller

Analog joystick

In a Dart system, the analog joystick can be used to perform different types of control:

  • MIDI control
  • MOUSE emulation
  • ARROW KEYS emulation

Anlog joysticks can be found on the market in very different formats and shapes…

MIDI CONTROL – video example 

In this case the two potentiometers that make up the analog joystick are treated like normal rotary potentiometers. a joystick is very convenient to use as a pitchbend wheel, or to emulate the classic XY control of a vintage synthesizer.

View this post on Instagram

A post shared by DART Arduino MIDI controller (@bitt.project) on Dec 27, 2018 at 3:28am PST

MOUSE EMULATION – video example

In many cases it may be convenient to have a mouse emulation directly accessible from the panel of a MIDI controller. For a DJ, it may be useful to use the mouse emulator to have a quick access to the browser.

View this post on Instagram

A post shared by DART Arduino MIDI controller (@bitt.project) on Dec 25, 2018 at 10:15am PST

ARROW KEYS EMULATION – video example

There are many cases in which it may be useful to use the arrow keys to control a program, the funniest case is that of a videogame 🙂

View this post on Instagram

A post shared by DART Arduino MIDI controller (@bitt.project) on Dec 26, 2018 at 4:48am PST

MOUSE WHEEL EMULATION – video example

The emulation of the mousewheel concerns the use of the encoders, therefore of the top spinner and of the side spinner, but the setting of the emulation is contained in the MOUSE ITEM.

View this post on Instagram

A post shared by DART Arduino MIDI controller (@bitt.project) on Dec 28, 2018 at 1:44am PST

Mouse emulation – SETTINGS

Now we will use the DART_EDITOR to set up the mouse emulation.

In the following example we opened the DART_KOROVA preset, and we selected the ITEM related to the settings of the MOUSE/ARROWS emulation.

The selectors contained in the  settings_area of the MOUSE/ARROWS item :

  • MODE
    • only a single ITEM can be set in MOUSE/ARROWS MODE, inside a preset.
  • MOUSE/ARROWS
    • 0 = Not active. X and Y axes are processed like normal potentiometers.
    • 1 = Mouse emulation active.
    • 2 = Arrow keys emulation active.
  • INVERT – to invert the mouse/arrows direction.
    • 0 = Normal
    • 1 = Iverted direction
  • MOUSEWHEEL
    • 0 = No mousewheel emulation
    • 1 = Mousewheel emulation active and controlled by the Top_Spinner.
    • 2 = Mousewheel emulation active and controlled by the Side_Spinner.
  • CIRCUIT POSITION X -Y
    • An analog joytick consists of two potentiometers, which are used simultaneously acting on the lever.
    • here we have to specify to which input, on the DART_mobo circuit, the two joystick knobs have been connected.
    • Example: this is how the joystick is connected to the DART_Korova circuit

Tag » Arduino Midi Controller Joystick