You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
440 B
18 lines
440 B
#pragma once |
|
|
|
#include <devicetree.h> |
|
#include <usb/usb_device.h> |
|
#include <usb/class/usb_hid.h> |
|
#include "dt-bindings/zmk/keys.h" |
|
|
|
#include "zmk.h" |
|
#include "keys.h" |
|
|
|
#define ZMK_KEYMAP_NODE DT_CHOSEN(zmk_keymap) |
|
#define ZMK_KEYMAP_LAYERS_LEN DT_PROP_LEN(ZMK_KEYMAP_NODE, layers) |
|
|
|
bool zmk_keymap_layer_activate(u8_t layer); |
|
bool zmk_keymap_layer_deactivate(u8_t layer); |
|
|
|
zmk_key |
|
zmk_keymap_keycode_from_position(u32_t row, u32_t column);
|
|
|