Skip to content

cryham/controller

 
 

Repository files navigation

Crystal Keyboard 3 and 4

This is my fork for keyboards CK3 and CK4.

More info about them on My Website, this Forum post, in Picture galleries with descriptions, and Videos.

Hardware

The keyboard is made of:

  • Teensy 3.1 or 3.2
  • OLED display: SSD 1306, 128x64 mono
  • A4 Tech KX-100 keyboard for CK3, but any other could be used
  • 2 LEDs for layer info

Features

The fork of Kiibohd Controller adds these features to it:

  • Included teensy3 directory from Paul's cores repo, reduced
  • Support for display with Adafruit GFX and SSD 1306 libraries
  • Gui Menu
  • Sequences/Macros viewer and editor
    • Useful for e.g. passwords, frequently typed words (no need to type anymore)
    • And often used key combinations (macros)
    • Loaded and saved in eeprom
  • Mouse move with acceleration
  • Help pages listing all key shortcuts used
  • Status pages showing
    • Active layers, protocol
    • Pressed keyes, modifiers, locks
    • When ghosting: columns and rows count
  • Quite few demos:
    • Space, Balls, Rain, Fountain
    • Polygons 2D, Polyhedrons 3D
    • Waving 2D CK logo
    • Plasma (old school effect)
  • Falling blocks game Sixtis with 9 game presets
    • And Gui with options for all parameters for custom games

Details

The keyboard matrix has 18 columns and 8 rows (uses 26 pins) display uses 4 pins (HW SPI) and LEDs use 2. For info on pins connections see the files in Scan/CK3, pins.txt and matrix.h.

Currently (full featured) code uses:

  • RAM: 68% (of 64kB)
  • Flash: 70% (of 256kB)

See main.cpp for customization defines: KII, DEMOS, GAME. Those allow disabling/enabling features.

A basic Kiibohd build (set(DebugModule "none" in CMakeFiles.txt) with OLED and Gui uses:

  • RAM: 24%
  • Flash: 50%

Kiibohd Controller

For reference, read Wiki from the original repo of this fork.

Licensing

Licensing is done on a per-file basis. See original repo for more info. My sources are licensed GPLv3, those are in subdirs: demos, gui, games, Scan/CK3.

About

OLD: Kiibohd Controller with SSD1306 display and ghosting matrix in Scan/CK3. For my custom keyboards using Teensy 3.1 or 3.2 (with ARM Cortex-M4).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 80.1%
  • C++ 15.1%
  • CMake 2.9%
  • Shell 1.6%
  • Python 0.3%
  • Dockerfile 0.0%