zmk_mf68/app/include/zmk/keymap.h

15 lines
358 B
C
Raw Normal View History

/*
* Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
#pragma once
2020-05-02 13:37:37 +10:00
bool zmk_keymap_layer_active(u8_t layer);
int zmk_keymap_layer_activate(u8_t layer);
int zmk_keymap_layer_deactivate(u8_t layer);
int zmk_keymap_layer_toggle(u8_t layer);
2020-05-02 13:37:37 +10:00
int zmk_keymap_position_state_changed(u32_t position, bool pressed, s64_t timestamp);