* Extract keymap definitions to follow the external userspace model. A default keymap should probably be added again as an example. * Move configuration to keyboard.json. * Enable LTO. * Move encoder button handling to the keymap for full qmk feature support (layers, mod-tap). * Inject encoder turn events into the qmk encoder pipeline, with the same motivation as above. * Rename files to avoid clashing with qmk-internal files (encoder.h). * Faster matrix store/compare primitives.
9 lines
281 B
C
9 lines
281 B
C
// Copyright 2023 Thomas Haukland (@tompi)
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
// Force the usage of PIO1 peripheral, by default the WS2812 implementation uses the PIO0 peripheral.
|
|
#define WS2812_PIO_USE_PIO1
|
|
#define WS2812_BYTE_ORDER WS2812_BYTE_ORDER_RGB
|