Main Menu

USB keys

Started by aaronSramos, February 28, 2023, 07:36:37 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

aaronSramos

Hello everyone.

Is possible to map in MPP some kind of Macro USB keyboard like this: https://a.aliexpress.com/_Exdfexx

Anybody have tried? Sometimes I only need a Play and Fade All options.

Thanks 😉
Fotógrafo y Diseñador de Iluminación.
Me muevo entre la luz y las sombras.
-
Photographer & Lighting Designer.
INFO ⤵
flow.page/aaronsramos

David

I haven't used one of those, but if it's just emulating a keyboard it should be fine.

aaronSramos

Ok  ;)

Just looking a way to launch audios + lighting in a simple way and trigger  ;)
Fotógrafo y Diseñador de Iluminación.
Me muevo entre la luz y las sombras.
-
Photographer & Lighting Designer.
INFO ⤵
flow.page/aaronsramos

aaronSramos

David I assume if I use MIDI trigger or this USB Macro Key (for example) MPP doesn't need to be "in focus". Right?

Quote from: David on February 28, 2023, 08:32:21 PMI haven't used one of those, but if it's just emulating a keyboard it should be fine.
Fotógrafo y Diseñador de Iluminación.
Me muevo entre la luz y las sombras.
-
Photographer & Lighting Designer.
INFO ⤵
flow.page/aaronsramos

David

Keyboard shortcuts will always require MultiPlay to have focus for them to work.

Control via MIDI and OSC do not require MultiPlay to have focus.

If you're using the Elgato Stream Deck (on Mini) I would set it up to send OSC.

aaronSramos

Cool! Thanks David 🤘🙃🤘
Fotógrafo y Diseñador de Iluminación.
Me muevo entre la luz y las sombras.
-
Photographer & Lighting Designer.
INFO ⤵
flow.page/aaronsramos

tonytech

I have a two button keyboard (GO, STOP) emulator built around a arduino Leonardo.

aaronSramos

This is what I need! Can you share images of you 2 button?

Quote from: tonytech on March 02, 2023, 07:09:35 PMI have a two button keyboard (GO, STOP) emulator built around a arduino Leonardo.
Fotógrafo y Diseñador de Iluminación.
Me muevo entre la luz y las sombras.
-
Photographer & Lighting Designer.
INFO ⤵
flow.page/aaronsramos

tonytech

#8

I cant see this small form factor Arduino Leonardo on Amazon at the moment, but ebay have:

USB ATMEGA32U4 Mini Development Board For Arduino Leonardo

tonytech

#9
Buttons:
You cannot view this attachment.

aaronSramos

Cool! I need a Dummy-Arduino Tutorial  ;D


Quote from: tonytech on March 09, 2023, 05:01:17 AM
I cant see this small form factor Arduino Leonardo on Amazon at the moment, but ebay have:

USB ATMEGA32U4 Mini Development Board For Arduino Leonardo
Fotógrafo y Diseñador de Iluminación.
Me muevo entre la luz y las sombras.
-
Photographer & Lighting Designer.
INFO ⤵
flow.page/aaronsramos

tonytech

#include <Keyboard.h>
#include <JC_Button.h>

/*
  Keyboard emulation for Arduino Leonardo:
  Doesnt work on Nano
  Pushbutton at pin 3 and 4
  Held LOW 10Kohms
  Aims to start Multiplay track with Space.
  Aims to halt Multiplay track with esc or star.
 
*/

const int gobuttonpin = 15;
const int stopbuttonpin = 16;           // input pin for pushbutton
Button gobutton(gobuttonpin, 250, false, false);
Button stopbutton(stopbuttonpin, 250, false, false);

void setup() {
  gobutton.begin();
  stopbutton.begin();
//  Keyboard.begin();
Serial.begin(9600);
}

void loop() {
  gobutton.read();
  stopbutton.read();
  if(gobutton.wasPressed()){
     
    Keyboard.begin();
    Keyboard.print(" ");
    //Keyboard.write(218);
    Keyboard.end(); 
}
   if(stopbutton.wasPressed()){
   //if(stopbutton.isPressed()){
    Serial.println("p");
   
    Keyboard.begin();
    Keyboard.print("0");
    //Keyboard.write(217);   
    Keyboard.end();
}
delay(50);

  }
 

aaronSramos

Thanks Tonytech!

I've zero idea of this, but I'll check it out  ;)

Quote from: tonytech on March 11, 2023, 07:44:33 AM#include <Keyboard.h>
#include <JC_Button.h>

/*
  Keyboard emulation for Arduino Leonardo:
  Doesnt work on Nano
  Pushbutton at pin 3 and 4
  Held LOW 10Kohms
  Aims to start Multiplay track with Space.
  Aims to halt Multiplay track with esc or star.
 
*/

const int gobuttonpin = 15;
const int stopbuttonpin = 16;           // input pin for pushbutton
Button gobutton(gobuttonpin, 250, false, false);
Button stopbutton(stopbuttonpin, 250, false, false);

void setup() {
  gobutton.begin();
  stopbutton.begin();
//  Keyboard.begin();
Serial.begin(9600);
}

void loop() {
  gobutton.read();
  stopbutton.read();
  if(gobutton.wasPressed()){
     
    Keyboard.begin();
    Keyboard.print(" ");
    //Keyboard.write(218);
    Keyboard.end(); 
}
   if(stopbutton.wasPressed()){
   //if(stopbutton.isPressed()){
    Serial.println("p");
   
    Keyboard.begin();
    Keyboard.print("0");
    //Keyboard.write(217);   
    Keyboard.end();
}
delay(50);

  }
 
Fotógrafo y Diseñador de Iluminación.
Me muevo entre la luz y las sombras.
-
Photographer & Lighting Designer.
INFO ⤵
flow.page/aaronsramos

oprso

Quote from: aaronSramos on February 28, 2023, 07:36:37 PMHello everyone.

Is possible to map in MPP some kind of Macro USB keyboard like this: https://a.aliexpress.com/_Exdfexx

Anybody have tried? Sometimes I only need a Play and Fade All options.

Thanks 😉
I have just bought one from your link and it works great with Mutliplay.
you will need to program the marco keyboard first before you can map it to multiplay.