Browse Source

Remove some use of keymap.h (#20006)

pull/20004/head
Joel Challis 1 year ago
committed by GitHub
parent
commit
3be5d90b6d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
16 changed files with 11 additions and 22 deletions
  1. +0
    -1
      keyboards/capsunlocked/cu75/cu75.c
  2. +2
    -1
      keyboards/gboards/butterstick/sten.h
  3. +1
    -2
      keyboards/gboards/engine/engine.h
  4. +2
    -2
      keyboards/gboards/g/engine.h
  5. +1
    -1
      keyboards/gboards/georgi/sten.h
  6. +0
    -7
      keyboards/handwired/arrow_pad/arrow_pad.h
  7. +0
    -1
      keyboards/lfkeyboards/lfk65_hs/lfk65_hs.c
  8. +0
    -1
      keyboards/lfkeyboards/lfk87/lfk87.c
  9. +0
    -1
      keyboards/lfkeyboards/mini1800/mini1800.c
  10. +0
    -1
      keyboards/lfkeyboards/smk65/revb/revb.c
  11. +1
    -1
      quantum/bootmagic/magic.c
  12. +0
    -1
      quantum/command.c
  13. +1
    -1
      quantum/dynamic_keymap.c
  14. +2
    -0
      quantum/keymap_common.h
  15. +1
    -0
      quantum/keymap_introspection.h
  16. +0
    -1
      tests/test_common/test_fixture.cpp

+ 0
- 1
keyboards/capsunlocked/cu75/cu75.c View File

@ -2,7 +2,6 @@
#include <avr/timer_avr.h>
#include <avr/wdt.h>
#include "cu75.h"
#include "keymap.h"
#include "debug.h"
#include "../lfkeyboards/issi.h"
#include "../lfkeyboards/TWIlib.h"


+ 2
- 1
keyboards/gboards/butterstick/sten.h View File

@ -5,9 +5,10 @@
//
// Amen.
#pragma once
#include QMK_KEYBOARD_H
#include "mousekey.h"
#include "keymap.h"
#include "keymap_steno.h"
#include "wait.h"


+ 1
- 2
keyboards/gboards/engine/engine.h View File

@ -10,9 +10,8 @@
crap is removed where possible
*/
#include QMK_KEYBOARD_H
#pragma once
#include "keymap.h"
#include QMK_KEYBOARD_H
#include <string.h>
#include <stdint.h>
#include <stdio.h>


+ 2
- 2
keyboards/gboards/g/engine.h View File

@ -10,9 +10,9 @@
crap is removed where possible
*/
#include QMK_KEYBOARD_H
#pragma once
#include "keymap.h"
#include QMK_KEYBOARD_H
#include <string.h>
#include <stdint.h>
#include <stdio.h>


+ 1
- 1
keyboards/gboards/georgi/sten.h View File

@ -4,10 +4,10 @@
// the slave and the master. Until we return from main.
//
// Amen.
#pragma once
#include QMK_KEYBOARD_H
#include "mousekey.h"
#include "keymap.h"
#include "keymap_steno.h"
#include "wait.h"


+ 0
- 7
keyboards/handwired/arrow_pad/arrow_pad.h View File

@ -1,13 +1,6 @@
#pragma once
#include "quantum.h"
#include "matrix.h"
#include "keymap.h"
#ifdef BACKLIGHT_ENABLE
#include "backlight.h"
#endif
#include <avr/io.h>
#include <stddef.h>
#define XXX KC_NO


+ 0
- 1
keyboards/lfkeyboards/lfk65_hs/lfk65_hs.c View File

@ -2,7 +2,6 @@
#include <avr/timer_avr.h>
#include <avr/wdt.h>
#include "lfk65_hs.h"
#include "keymap.h"
bool process_record_kb(uint16_t keycode, keyrecord_t* record)
{


+ 0
- 1
keyboards/lfkeyboards/lfk87/lfk87.c View File

@ -3,7 +3,6 @@
#include <avr/timer_avr.h>
#include <avr/wdt.h>
#include "lfk87.h"
#include "keymap.h"
#include "issi.h"
#include "TWIlib.h"
#include "lighting.h"


+ 0
- 1
keyboards/lfkeyboards/mini1800/mini1800.c View File

@ -3,7 +3,6 @@
#include <avr/timer_avr.h>
#include <avr/wdt.h>
#include "mini1800.h"
#include "keymap.h"
#include "issi.h"
#include "TWIlib.h"
#include "lighting.h"


+ 0
- 1
keyboards/lfkeyboards/smk65/revb/revb.c View File

@ -16,7 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <avr/timer_avr.h>
#include <avr/wdt.h>
#include "smk65.h"
#include "keymap.h"
#include "debug.h"
#include "issi.h"
#include "TWIlib.h"


+ 1
- 1
quantum/bootmagic/magic.c 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"


+ 0
- 1
quantum/command.c 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"


+ 1
- 1
quantum/dynamic_keymap.c 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()


+ 2
- 0
quantum/keymap_common.h 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);

+ 1
- 0
quantum/keymap_introspection.h View File

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


+ 0
- 1
tests/test_common/test_fixture.cpp View File

@ -22,7 +22,6 @@ extern "C" {
#include "debug.h"
#include "eeconfig.h"
#include "keyboard.h"
#include "keymap.h"
void set_time(uint32_t t);
void advance_time(uint32_t ms);


Loading…
Cancel
Save