Analog joystick

 

 

An analog joystick can be used to perform different types of control:

  • MIDI control
  • MOUSE emulation  (Arduino Leonardo only)
  • ARROW KEYS emulation (Arduino Leonardo only)

MIDI CONTROL 

In this case the two potentiometers that make up the analogic 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

 


MOUSE EMULATION

In many cases it may be convenient to have a mouse emulation directly accessible from the panel of a MIDI controller.
For a DJ, for example, it may be useful to use the mouse emulator to have more convenient access to the browser, to choose the songs to play…

 

View this post on Instagram

 

A post shared by DART Arduino MIDI controller (@bitt.project) on

 


ARROW KEYS EMULATION

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

 


MOUSE WHEEL EMULATION

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

 


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