zmk_mf68/app/include/zmk/keymap.h

15 lines
351 B
C
Raw Normal View History

#pragma once
2020-05-02 13:37:37 +10:00
#include <devicetree.h>
#include <usb/usb_device.h>
#include <usb/class/usb_hid.h>
#include <dt-bindings/zmk/keys.h>
2020-05-02 13:37:37 +10:00
#include <zmk/matrix.h>
// #include <zmk/keys.h>
bool zmk_keymap_layer_activate(u8_t layer);
bool zmk_keymap_layer_deactivate(u8_t layer);
2020-05-02 13:37:37 +10:00
int zmk_keymap_position_state_changed(u32_t row, u32_t column, bool pressed);