Jesse Vincent
f0274ef90f
|
3 years ago | |
---|---|---|
.github | 4 years ago | |
bin | 4 years ago | |
docs | 3 years ago | |
etc | 4 years ago | |
examples | 3 years ago | |
extras | 8 years ago | |
plugins | 3 years ago | |
src | 3 years ago | |
test/MatrixAddr | 5 years ago | |
testing | 3 years ago | |
tests | 3 years ago | |
.astylerc | 4 years ago | |
.gitignore | 4 years ago | |
.kaleidoscope-builder.conf | 8 years ago | |
.readthedocs.yml | 5 years ago | |
CODE_OF_CONDUCT.md | 8 years ago | |
CONTRIBUTING.md | 6 years ago | |
LICENSE | 6 years ago | |
Makefile | 4 years ago | |
README.md | 4 years ago | |
library.properties | 4 years ago |
README.md
Kaleidoscope
Flexible firmware for Arduino-powered keyboards.
This package contains the "core" of Kaleidoscope and a number of example firmware "Sketches".
If you're just getting started with the Keyboardio Model 01, the introductory docs are here and the source for the basic firmware package is here: https://github.com/keyboardio/Model01-Firmware. It's probably a good idea to start there, learn how to modify your keymap and maybe turn some modules on or off, and then come back to the full repository when you have more complex changes in mind.
Getting Started
If you want to use Kaleidoscope to customize or compile a "sketch" to power a supported keyboard, the fastest way to get started is to use the Arduino IDE. You can find setup instructions on kaleidoscope.readthedocs.io
If you prefer to work from the command line or intend to work on Kaleidscope itself, please follow the instructions below. It's important to note that the Arduino IDE needs the source code laid out in a slightly different arrangement than you'll find in this repository. If you want to use the Arduino IDE, you should follow these instructions instead.
Use git to check out a copy of Kaleidoscope
- Open a commandline shell and navigate to where you want to check out Kaleidoscope.
For the purposes of this tutorial, we'll assume your checkout is in a directory called kaleidoscope
inside a directory called git
in your home directory.
$ mkdir ${HOME}/git
$ cd ${HOME}/git
- Download the latest version of Kaleidoscope
$ git clone https://github.com/keyboardio/Kaleidoscope
- Ask Kaleidoscope to install the compiler toolchain, arduino-cli and platform support
$ cd ${HOME}/git/Kaleidoscope
$ make setup
- Tell your shell where to find your Kaleidoscope installation. This example is for bash. If you're using another shell, consult the shell's documentation for instructions about how to set an environment variable
$ export KALEIDOSCOPE_DIR=${HOME}/git/Kaleidoscope
$ echo "export KALEIDOSCOPE_DIR=${HOME}/git/Kaleidoscope" >> ${HOME}/.bash_profile
- Build the Kaleidoscope Firmware for your keyboard
(This part assumes you're building firmware for the Keyboardio Atreus)
$ cd examples/Devices/Keyboardio/Atreus
$ make compile
- Install your firmware
$ make flash
<3 jesse