adnan-alhomssi / DigistumpArduinoDe

Digistump library with german keyboard layout support

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DigistumpArduino - Germanized Keyboard Library

This fork adds only a single file to enable DigiKeyboard usage for keyboards with german layout

//This the important part, include the De suffixed version instead of the normal one and the rest goes same as the original lib.
#include "DigiKeyboardDe.h"

void setup() {
  // don't need to set anything up to use DigiKeyboard
}


void loop() {
  // this is generally not necessary but with some older systems it seems to
  // prevent missing the first character after a delay:
  DigiKeyboardDe.sendKeyStroke(0);
  
  DigiKeyboardDe.println("Hello XYZ !\"§$%&/()=? [] {}!");
  // It's better to use DigiKeyboard.delay() over the regular Arduino delay()
  // if doing keyboard stuff because it keeps talking to the computer to make
  // sure the computer knows the keyboard is alive and connected
  DigiKeyboard.delay(5000);
}

About

Digistump library with german keyboard layout support


Languages

Language:C 81.5%Language:C++ 9.1%Language:Assembly 3.3%Language:Arduino 2.1%Language:Processing 1.4%Language:SourcePawn 1.0%Language:PHP 0.7%Language:Makefile 0.3%Language:Objective-C 0.2%Language:CSS 0.1%Language:GDB 0.1%Language:Python 0.0%Language:HTML 0.0%Language:XSLT 0.0%Language:Batchfile 0.0%Language:POV-Ray SDL 0.0%Language:Shell 0.0%Language:Elixir 0.0%