转到文件
gdsports 71f09360bb Update to work with latest gdsports/USBHost_t36
USBHost_t36 rebased to Teensyduino 1.43 plus other patches.
2018-09-02 10:12:14 -10:00
.gitattributes First public release 2012-11-26 03:53:55 +08:00
.gitignore First public release 2012-11-26 03:53:55 +08:00
HID1_11.pdf Major rewrite for NKRO and CAPSLOCK mapping 2012-12-02 19:03:33 +08:00
Hut1_12v2.pdf Major rewrite for NKRO and CAPSLOCK mapping 2012-12-02 19:03:33 +08:00
README.md Use patched version of Teensy 3.6 USB host library 2018-08-13 16:26:52 -10:00
keymapper.ino Update to work with latest gdsports/USBHost_t36 2018-09-02 10:12:14 -10:00
keymapper_game.h Update to IDE 1.8.5 2018-08-13 12:56:20 -10:00
word game list manager.xlsm Major rewrite for NKRO and CAPSLOCK mapping 2012-12-02 19:03:33 +08:00

README.md

Description

  • Keymapper - An Arduino-based hardware QWERTY keyboard layout remapper.
  • Last updated: 26 November 2013 by darkytoothpaste
  • Last updated: 13 August 2018 by gdsports

What you can do with it?

  1. You can design your own keyboard layout with real hardware support
  2. You can cheat your friend with it or do some other evil things :P
  3. Just think about it!

How to use this?

Hardware support

Hardware assemble

Teensy 3.6 with USB host cable

  1. Solder the header pins to the USB 5 pin connector. Plug in the USB host cable.

  2. Install Teensyduino package.

  3. Use my patched version of the PJRC USBHost_t36 library. This is required so the sketch can get the raw HID keyboard report.

  4. Select Board type: Teensy 3.6 and USB Type: Keyboard. Upload the sketch.

  5. Plug your USB keyboard to the USB Host shield

  6. Done! Happy keyboard hacking :)

Leonardo or Teensy 2

  1. Stack the USB Host Shield on top of Arduino Leonardo, for Teensy, soldering work is required, you may refer to this page

  2. Import USB Host Shield 2.0 library to Arduino IDE

  3. Connect the stack to your computer and upload the sketch

  4. Plug your USB keyboard to the USB Host shield

  5. Done! Happy keyboard hacking :)

TBD Teensy LC

Keyboard layout switching

  • QWERTY is the default layout
  • To change layout, press:
    • CTRL+SHIFT+0: QWERTY (Default)
    • CTRL+SHIFT+1: Tarmak1
    • CTRL+SHIFT+2: Tarmak2
    • CTRL+SHIFT+3: Tarmak3
    • CTRL+SHIFT+4: Tarmak4
    • CTRL+SHIFT+5: Colemak
    • CTRL+SHIFT+6: Dvorak
    • CTRL+SHIFT+7: Workman

Acknowledgement

Thanks to original author: darkytoothpaste