This repository has been archived on 2025-01-28. You can view files and clone it, but cannot push or open issues or pull requests.
Drashna Jaelre e6266b19be Initialize Layer State on startup (#8318)
* Initialize Layer State on startup

Right now, on startup, the default layer state gets called and set, triggering the callback functions for the default layer state. However, the normal layer state never actually gets initialized.  It's set to 0 directly, by default, but the callback functions are never actually called.  This creates some inconsistency in the behavior for end users.  This adds a simple "clear" that triggers the callback on startup.  This should produce more consisten behavior between the two functions and layer masks.

* Stupid hack

* Fix type casting?

* Fix compile issues with magic is disabled
2020-08-29 14:30:02 -07:00
2020-04-18 22:00:56 +02:00
2020-08-29 14:30:02 -07:00
2020-08-29 14:30:02 -07:00
2020-08-29 14:30:02 -07:00
2019-06-11 01:51:40 -07:00
2016-08-27 18:37:28 +03:00
2020-07-16 16:45:50 +10:00
2017-08-19 08:31:54 -04:00
2019-08-24 12:43:39 -04:00
2020-08-29 14:30:02 -07:00
2019-09-07 07:58:41 -07:00

Quantum Mechanical Keyboard Firmware

Current Version Build Status Discord Docs Status GitHub contributors GitHub forks

THIS IS THE DEVELOP BRANCH

Warning- This is the develop branch of QMK Firmware. You may encounter broken code here. Please see Breaking Changes for more information.

Original readme continues

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.

Documentation

The docs are powered by Docsify and hosted on GitHub. They are also viewable offline; see Previewing the Documentation for more details.

You can request changes by making a fork and opening a pull request, or by clicking the "Edit this page" link at the bottom of any page.

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 ZSA Technology Labs, the Clueboard by Zach White, and the Atreus by Phil Hagelberg.

Official Website

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

Description
Open-source keyboard firmware for Atmel AVR and Arm USB families
https://qmk.fm
Readme 167 MiB
Languages
C 90.3%
Makefile 4.2%
C++ 4.1%
Python 0.7%
Objective-C 0.5%