Skip to content

MeLight/soft-keyboard

Repository files navigation

SoftKeyboard

Software only keyboard emulator for Arduino.

This library will emulate (with the provided SoftKeyboardReceiver.zip) a windows keyboard. Full list of keycodes can be found here: http://msdn.microsoft.com/en-us/library/windows/desktop/dd375731(v=vs.85).aspx

Usage:

  • Download and install the Arduino library (official guide here http://arduino.cc/en/Guide/Libraries)
    • create a SoftKeyboard directory in your Arduino\libraries directory
    • unpack the .zip you've downloaded, and copy everything from the .zip's root folder (soft-keyboard-master by default) directory to Arduino\libraries\SoftKeyboard
  • Restart the Arduino IDE
  • Open the SoftKeyboard example sketch and upload it to the Arduino
  • Run the provided SoftKeyboard.exe on your PC, giving the Arduino serial port as an argument
  • Open notepad, and you should be getting "hi!" string typed every 2 seconds

Contents:
SoftKeyboard.h, SoftKeyboard.cpp - the sources of the Arduino library
keywords.txt - syntax highlight for the Arduino IDE
SoftKeyboard.exe - the "server" keyboard you run on the PC
Program.cs - the C# source code for SoftKeyboard.exe
examples - folder with examples of usage (Arduino)

About

Software only keyboard emulator for Arduino.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages