Clackety Keyboards Powered by Python
Go to file
2019-07-24 21:25:10 -07:00
.circleci Full deployment workflow: push finished assets to DigitalOcean Spaces (cdn.kmkfw.io) 2019-07-24 21:25:10 -07:00
docs Rename "Firmware" to "KeyboardConfig" for clarity in main.py and to illustrate separation of KeyboardConfig/InternalState 2019-07-24 21:25:10 -07:00
hardware Update README.md 2018-12-04 16:44:13 -08:00
kmk A wild W504 linter error appeared! Fix those. 2019-07-24 21:25:10 -07:00
tests/test_data Resolves #56 by moving kmk.common.* up a level to kmk.* 2018-10-11 18:13:29 -07:00
user_keymaps Rename "Firmware" to "KeyboardConfig" for clarity in main.py and to illustrate separation of KeyboardConfig/InternalState 2019-07-24 21:25:10 -07:00
util Add new keyboard now on Circuitpython. 2018-10-11 12:37:06 -07:00
.dockerignore Some backports from work on #46 to greatly speed up Circle builds 2018-10-11 17:50:39 -07:00
.gitignore Ability to build release zips in CI 2019-07-24 21:25:10 -07:00
.s3cfg Full deployment workflow: push finished assets to DigitalOcean Spaces (cdn.kmkfw.io) 2019-07-24 21:25:10 -07:00
boot.py Everything necessary to get this to boot finally. Planck types! 2018-12-29 06:03:31 -08:00
Dockerfile Full deployment workflow: push finished assets to DigitalOcean Spaces (cdn.kmkfw.io) 2019-07-24 21:25:10 -07:00
LICENSE.md Remove unused kmk.string (originally from micropython-lib) 2018-12-29 15:42:56 -08:00
Makefile Full deployment workflow: push finished assets to DigitalOcean Spaces (cdn.kmkfw.io) 2019-07-24 21:25:10 -07:00
Pipfile Full deployment workflow: push finished assets to DigitalOcean Spaces (cdn.kmkfw.io) 2019-07-24 21:25:10 -07:00
Pipfile.lock Full deployment workflow: push finished assets to DigitalOcean Spaces (cdn.kmkfw.io) 2019-07-24 21:25:10 -07:00
README.md README accuracy 2019-07-24 21:25:10 -07:00
setup.cfg fixup for keyboard_config 2019-07-24 21:25:10 -07:00

KMK: Clackety Keyboards Powered by Python

KMK is a feature-rich and beginner-friendly firmware for computer keyboards written and configured in CircuitPython. KMK is currently in public beta, however should handle almost all workflows without major issues.

If you need support with KMK or just want to say hi, find us in #general:kmkfw.io on Matrix. Other channels exist in the same community. These channels are bridged to Discord here for convenience.

Features

  • Fill
  • This
  • Section
  • Out

Getting Started

  • Start by grabbing a supported microcontroller. Broadly speaking, KMK supports any device CircuitPython does, but KMK requires a decent bit of RAM, and in general requires a working USB HID stack, which leads us to recommend the following controllers:

    * The ItsyBitsy M4 Express is the only controller we currently support in non-handwired configurations, using our ItsyBitsy to Pro Micro converter PCB designed by @siddacious and @kdb424. It is our most-recommended MCU until the ItsyBitsy is updated with an nRF52840 chip

    Some other controllers, such as the Feather M0 Express, are usable in reduced functionality modes and may require custom hackery. For example, @kdb424 uses a ItsyBitsy M0 Express as a barebones matrix scanner in a split keyboard configuration here. Use such controllers at your own risk.

  • Ensure CircuitPython 4.0.0 or newer is installed on your controller. We recommend the latest stable version from circuitpython.org. Flashing instructions vary by device: all Adafruit boards can be flashed using their instructions, other boards generally have their instructions in the CircuitPython repository under the ports/atmel-samd/boards/<your board here> and ports/nrf/boards/<your board here> directories. If all else fails, consult your device's official documentation.

  • Download the latest KMK release and extract the zip to the USB drive exposed by CircuitPython, typically labeled CIRCUITPY. Again, we'll defer to Adafruit's documentation on adding libraries to a CircuitPython installation.

  • Define your keyboard in a file called main.py on this CIRCUITPY drive and get tinkering! Examples of both handwired and ProMicro->ItsyBitsy converted boards exist under the user_keymaps/ tree, and feel free to submit a pull request of your own definitions! At this point, you'll want to look through docs/ in the source tree to explore the functionality at your disposal.

Linux, BSD, and MacOS users can also make use of the Makefile provided in this source tree to flash KMK and a keymap using rsync. This is advanced functionality outside the scope of this README, but it's documented in the docs/ tree.

The KMK Team

KMK is primarily written and maintained by @klardotsh and @kdb424, but contributions are welcome from all, whether it's in the form of code, documentation, hardware designs, feature ideas, or anything else that comes to mind. KMK's contributors and other helpers are listed alphabetically by username below (we'll try to keep this up to date!):

While Adafruit employees and affiliates are included in the above list and their help has been crucial to KMK's success, KMK is not an official Adafruit project, and the Core team is not compensated by Adafruit for its development.

All software in this repository is licensed under the GNU Public License, verison 3. All documentation and hardware designs are licensed under the Creative Commons Attribution-ShareAlike 4.0 license. Contributions to this repository must use these licenses unless otherwise agreed to by the Core team.

When you open your first pull request, you'll be asked to sign a Contributor Licensing Agreement which is based on the Free Software Foundation's CLA. The CLA is basically a two-way promise that your code is and remains yours, but will be distributed as part of a larger GPL project. This CLA can be read and/or signed here.