Code cleanup, use pathlib, use pytest keyboard
Clean up checks and logics that are unnecessary due to MILC updates. Use pathlib instead of os.path for readability. Use the 'pytest' keyboard for the tests. Add community layout for 'handwired/onekey/pytest' so we can test community layouts.
This commit is contained in:
1
layouts/community/ortho_1x1/layout.json
Normal file
1
layouts/community/ortho_1x1/layout.json
Normal file
@@ -0,0 +1 @@
|
||||
[""]
|
12
layouts/community/ortho_1x1/test/keymap.c
Normal file
12
layouts/community/ortho_1x1/test/keymap.c
Normal file
@@ -0,0 +1,12 @@
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
/* This keyboard/layout is used to test community layout discovery/compilation. */
|
||||
|
||||
#define _DEFAULT 0
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
[_DEFAULT] = LAYOUT (
|
||||
KC_B
|
||||
),
|
||||
};
|
Reference in New Issue
Block a user