1
0
Fork 0

Remove some use of keymap.h (#20006)

This commit is contained in:
Joel Challis 2023-03-03 17:50:40 +00:00 committed by GitHub
parent c3c40dfda8
commit 3be5d90b6d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 11 additions and 22 deletions

View file

@ -19,7 +19,7 @@
#include "matrix.h"
#include "bootloader.h"
#include "debug.h"
#include "keymap.h"
#include "keycode_config.h"
#include "host.h"
#include "action_layer.h"
#include "eeconfig.h"

View file

@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "wait.h"
#include "keycode.h"
#include "host.h"
#include "keymap.h"
#include "print.h"
#include "debug.h"
#include "util.h"

View file

@ -14,7 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "keymap.h" // to get keymaps[][][]
#include "keymap_introspection.h" // to get keymaps[][][]
#include "eeprom.h"
#include "progmem.h" // to read default from flash
#include "quantum.h" // for send_string()

View file

@ -3,5 +3,7 @@
#pragma once
#include <stdint.h>
// translates key to keycode
uint16_t keymap_key_to_keycode(uint8_t layer, keypos_t key);

View file

@ -3,6 +3,7 @@
#pragma once
#include <stdint.h>
#include <stdbool.h>
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Key mapping