2020-09-10 13:57:44 +10:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2020 The ZMK Contributors
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*/
|
|
|
|
|
2020-05-11 07:13:24 +10:00
|
|
|
#pragma once
|
2020-05-02 13:37:37 +10:00
|
|
|
|
2020-08-19 04:02:24 +10:00
|
|
|
bool zmk_keymap_layer_active(u8_t layer);
|
2020-06-23 01:06:01 +10:00
|
|
|
int zmk_keymap_layer_activate(u8_t layer);
|
|
|
|
int zmk_keymap_layer_deactivate(u8_t layer);
|
2020-08-19 04:02:25 +10:00
|
|
|
int zmk_keymap_layer_toggle(u8_t layer);
|
2020-05-02 13:37:37 +10:00
|
|
|
|
2020-10-11 08:32:53 +11:00
|
|
|
int zmk_keymap_position_state_changed(u32_t position, bool pressed, s64_t timestamp);
|