keymap_common.h
215 bytes
1// Copyright 2023 QMK
2// SPDX-License-Identifier: GPL-2.0-or-later
3
4#pragma once
5
6#include <stdint.h>
7#include "keyboard.h"
8
9// translates key to keycode
10uint16_t keymap_key_to_keycode(uint8_t layer, keypos_t key);