Go to file
Seebs c0baf2a964 Improve state/chord handling and clean up namespace
Some values that can never, ever, change were held in local
variables, rather than in PROGMEM. Fixed.

Change "pressed" to a signed int so the test for < 0 makes
sense, and to avoid possible weird failure modes in the
case where a key release comes in when pressed is already
zero. (Shouldn't happen, sure, but computers are weird.)

A lot of things in process_steno had external linkage for no
particular reason. They've been marked static. Stuff still
builds.

Distinguish between currently-held keys and keys that have
been held, and expose these values through a nicely-named API
so other code could, say, check on the current set of steno
chording in order to make displays. Also in passing fix up the
"state" value having external linkage so it could clash with
other people's variable declarations.

The API also provides hooks for key processing and steno chord
events, so you can monitor those events without having to
run in matrix_scan_user and recheck the values directly. Also
document these.

There is no path through processing a key that doesn't
end with a return false, so the nested return foo() are
gone and we just return false.
2018-04-07 17:12:44 -04:00
.vscode
docs Improve state/chord handling and clean up namespace 2018-04-07 17:12:44 -04:00
drivers Update whitefox to use the K-Type teensy workaround 2018-04-03 23:06:14 -04:00
keyboards Fix some Configurator Warnings regarding LAYOUT vs KEYMAP (#2708) 2018-04-07 15:14:53 -04:00
layouts Zweihander: swap space and enter keys (#2665) 2018-04-04 09:18:15 -07:00
lib
quantum Improve state/chord handling and clean up namespace 2018-04-07 17:12:44 -04:00
tests
tmk_core Update whitefox to use the K-Type teensy workaround 2018-04-03 23:06:14 -04:00
users Add userspace config.h handling to build script (#2640) 2018-04-01 00:02:40 -04:00
util Hopefully fix Travis Auto-Incrementation 2018-03-29 18:18:50 -04:00
.clang_complete
.editorconfig
.gitattributes
.gitignore
.gitmodules
.travis.yml
autocomplete.sh
book.json
bootloader.mk
build_full_test.mk
build_keyboard.mk Update whitefox to use the K-Type teensy workaround 2018-04-03 23:06:14 -04:00
build_layout.mk
build_test.mk
CODE_OF_CONDUCT.md
common_features.mk
common.mk
Dockerfile
Doxyfile
doxygen-todo
LICENSE
license_GPLv2.md
license_GPLv3.md
license_Modified_BSD.md
Makefile
message.mk
readme.md
secrets.tar.enc
shell.nix
testlist.mk
Vagrantfile

Quantum Mechanical Keyboard Firmware

Current Version Build Status Gitter Docs Status GitHub contributors GitHub forks

This is a keyboard firmware based on the tmk_keyboard firmware with some useful features for Atmel AVR and ARM controllers, and more specifically, the OLKB product line, the ErgoDox EZ keyboard, and the Clueboard product line.

Official website

http://qmk.fm is the official website of QMK, where you can find links to this page, the documentation, and the keyboards supported by QMK.

Supported Keyboards

The project also includes community support for lots of other keyboards.

Maintainers

QMK is developed and maintained by Jack Humbert of OLKB with contributions from the community, and of course, Hasu. The OLKB product firmwares are maintained by Jack Humbert, the Ergodox EZ by Erez Zukerman, and the Clueboard by Zach White.

Documentation

https://docs.qmk.fm is hosted on Gitbook and GitHub (they are synced). You can request changes by making a fork and pull request, or by clicking the "suggest an edit" link on any page of the Docs.