I'm typing this using it.
Building the firmware
in Windows is complicated. You Linux/Unix guys will have no problems.
In Windows, ... start by downloading software.
You will need
Cygwin ,
CMake ,
PJRC VSP driver ,
putty , and
Atmel AVR ToolchainIf you don't already have a Windows text editor that speaks Unix properly (Notepad and Wordpad do not;
Notepad++ does), you will need to download one or use an editor under Cygwin.
Install PJRC Virtual Serial Port driver.
Install Putty. You don't need this for building the firmware, but for customizing it later.
Install Notepad++ (if required).
Install CMake (suggest you install to the default folder).
Install Cygwin.
Avoid installing to any folder with a space such as
C:\Program FilesMake sure that the following components are installed:
- make
- git (needed for some compilation info)
- cmake
- gcc-core
- gcc-g++
- libusb1.0
- libusb1.0-devel
Run
Cygwin Terminal once to create a user profile. Exit Cygwin.
Run
Atmel 8bit AVR Toolchain - this will extract files to a folder. Enter that folder, select all files and folders and Cut.
Navigate to the folder that you installed Cygwin to. Paste the files and folders. You will be merging some folders - that is OK.
Navigate to the
home sub folder inside your Cygwin folder; here you will find your user profile. Enter that folder.
Open
.bashrc with your Unix compatible text editor.
Add the following line to the end ...
alias wincmake="PATH='/cygdrive/c/Program Files/CMake 2.8'/bin:\"${PATH}\" cmake"The above line presumes that you are running a 32bit version of Windows and you installed CMake to the default directory. If you have a 64bit version of Windows, your line should look something like ...
alias wincmake="PATH='/cygdrive/c/Program Files (x86)/CMake 2.8'/bin:\"${PATH}\" cmake"If you did not install CMake to the default directory, you will need to change this line appropriately.
At this point, your Windows box should have everything it needs to build and make the firmware.
Run Cygwin Terminal and type the following commands:
git clone https://git.gitorious.org/kiibohd-controller/capsense-beta.git
cd capsense-beta
mkdir build
cd build
wincmake -G "Unix Makefiles" ..
makeIf you followed these instructions and i didn't leave anything out, you will now have a 44kb file named
kiibohd.hex
You will need to plug in your Teensy and press the button to get it ready to program. You can load that hex file on your Teensy with the PJRC tool
Teensy.exe or load it directly from Cygwin with the command:
./load
Windows will start alerting you that new devices have been found, then you can start typing on your new keyboard.