I am 3D printing my own unique ergonomic keyboard, and have had great success with Swill's tool.
My keyswitches and Teensy 3.1 have arrived, and I am now faced with the following conundrum:
When wiring to a button on a digital input, I have always had a leg of the button shorted either to ground.
The BrownFox tutorial on wiring shorts one input to another.
http://deskthority.net/workshop-f7/brownfox-step-by-step-t6050.htmlI used to work with microcontrollers quite often, and I am still at a loss for how this does not damage the chip.
After all, here is an article (see method #2) that shows how to avoid destroying an Arduino:
http://www.ruggedcircuits.com/10-ways-to-destroy-an-arduino/How are the pins configured to allow the BrownFox configuration to work?This is the layout I am trying to use:
http://www.keyboard-layout-editor.com/#/layouts/b90aac02cbfd2217364f2ad8b55a600dI was hoping to use a very simple Arduino code block to control the keyboard, but the more I read into it, the more difficult this seems. I have looked at both Soarer and Hasu's firmware, but I am not sure how to use them with the Teensy.
This thread
http://deskthority.net/workshop-f7/how-to-build-your-very-own-keyboard-firmware-t7177.html explains how to use Hasu's code, but I feel that the code is unnecessarily over-complicated.
Why can I not just use
usb_keyboard_send() or something similar, with an array detailing each layer?
Is there an Arduino code in existence that I can easily reconfigure to work with my layout?