Seebs 7fbe6c3594 improve ergodox ez performance
With these changes, the ergodox ez goes from 315 scans per second
when no keys are pressed (~3.17ms/scan) to 447 (~2.24ms/scan).

The changes to the pin read are just condensing the logic, and
replacing a lot of conditional operations with a single bitwise
inversion.

The change to row scanning is more significant, and merits
explanation. In general, you can only scan one row of a keyboard
at a time, because if you scan two rows, you no longer know
which row is pulling a given column down. But in the Ergodox
design, this isn't the case; the left hand is controlled by an
I2C-based GPIO expander, and the columns and rows are *completely
separate* electrically from the columns and rows on the right-hand
side.

So simply reading rows in parallel offers two significant
improvements. One is that we no longer need the 30us delay after
each right-hand row, because we're spending more than 30us
communicating with the left hand over i2c. Another is that we're
no longer wastefully sending i2c messages to the left hand
to unselect rows when no rows had actually been selected in the
first place. These delays were, between them, coming out to
nearly 30% of the time spent in each scan.

Signed-off-by: seebs <seebs@seebs.net>
2017-11-26 02:07:06 -05:00
2017-10-31 11:13:40 -04:00
2017-11-21 21:26:29 -05:00
2017-09-15 21:43:58 -04:00
2017-11-26 02:07:06 -05:00
2017-11-17 11:40:13 -05:00
2017-11-20 23:37:38 -05:00
2017-11-22 11:40:46 -05:00
2017-11-17 20:48:26 -05:00
2017-11-20 23:37:38 -05:00
2017-10-31 11:13:40 -04:00
2016-08-27 18:37:28 +03:00
2017-11-06 12:09:01 -05:00
2017-11-16 15:09:45 -05:00
2017-10-15 13:37:46 -04:00
2017-08-19 08:31:54 -04:00
2017-10-31 20:59:55 -04:00
2017-08-19 08:17:58 -04:00
2017-11-14 22:56:29 -05:00
2017-09-25 13:14:20 -04:00
2016-07-30 08:37:30 +02:00

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.

Description
Personal fork of the QMK keyboard firmware
Readme 108 MiB
Languages
C 85.4%
C++ 6.4%
Makefile 5.1%
Objective-C 1.7%
Assembly 0.6%
Other 0.7%