int Joystick3_x = 0 ;
int Joystick3_y = 0 ;
#include "Keyboard.h"
void setup() {
Keyboard.begin();
}
void loop() {
Joystick3_x = analogRead(6) ;
Joystick3_y = analogRead(7) ;
if (Joystick3_y < 490){
Keyboard.press(KEY_LEFT_SHIFT) ;
Keyboard.press('+') ;
delay(10);
Keyboard.releaseAll() ;
}
if (Joystick3_y > 530){
Keyboard.press(KEY_LEFT_SHIFT) ;
Keyboard.press('-') ;
delay(10);
Keyboard.releaseAll() ;
}
}
Hallo ich habe jetzt alles noch auf einen Joystick umgebaut. anbei ist noch das Programm was ich geschrieben habe. Ich hoffe ihr könnt mir Helfen. ![]()
Whandall:
Keyboard.Write with Number Pad Keys from Leonardoxxx
Kannst du mir das bitte erklären? Ich verstehe das nicht so richtig. :o
PBahner ![]()