mirror of
https://github.com/openstenoproject/qmk
synced 2024-11-10 02:30:07 +00:00
[Keyboard] Fix error_log complaint about handwired/onekey layout macro (#9263)
This commit is contained in:
parent
d7523c1260
commit
407d6a2b67
10 changed files with 44 additions and 50 deletions
|
@ -7,7 +7,7 @@ enum custom_keycodes {
|
|||
};
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
LAYOUT(ADC_SAMPLE) //
|
||||
LAYOUT_ortho_1x1(ADC_SAMPLE)
|
||||
};
|
||||
|
||||
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||
|
|
|
@ -21,12 +21,11 @@ void dance_cln_reset (qk_tap_dance_state_t *state, void *user_data) {
|
|||
breathing_toggle();
|
||||
break;
|
||||
case 3:
|
||||
//tripple tap - do some pulse stuff
|
||||
// triple tap - do some pulse stuff
|
||||
breathing_pulse();
|
||||
break;
|
||||
#endif
|
||||
default:
|
||||
// more - nothing
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -36,5 +35,5 @@ qk_tap_dance_action_t tap_dance_actions[] = {
|
|||
};
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
LAYOUT( TD(TD_BL) )
|
||||
LAYOUT_ortho_1x1(TD(TD_BL))
|
||||
};
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
LAYOUT( KC_A )
|
||||
LAYOUT_ortho_1x1(KC_A)
|
||||
};
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"keyboard": "handwired/onekey/pytest",
|
||||
"keymap": "default_json",
|
||||
"layout":"LAYOUT",
|
||||
"layout": "LAYOUT_ortho_1x1",
|
||||
"layers": [["KC_A"]],
|
||||
"author": "qmk",
|
||||
"notes": "This file is a keymap.json file for handwired/onekey/pytest",
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
LAYOUT( EEP_RST )
|
||||
LAYOUT_ortho_1x1(EEP_RST)
|
||||
};
|
||||
|
|
|
@ -21,7 +21,7 @@ i2c_status_t i2c_start_bodge(uint8_t address, uint16_t timeout) {
|
|||
#endif
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
LAYOUT(KC_A) //
|
||||
LAYOUT_ortho_1x1(KC_A)
|
||||
};
|
||||
|
||||
void do_scan(void) {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
LAYOUT( RESET )
|
||||
LAYOUT_ortho_1x1(RESET)
|
||||
};
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
LAYOUT( RGB_MOD )
|
||||
LAYOUT_ortho_1x1(RGB_MOD)
|
||||
};
|
||||
|
||||
void keyboard_post_init_user(void) {
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
#include "quantum.h"
|
||||
|
||||
#define LAYOUT( \
|
||||
#define LAYOUT_ortho_1x1( \
|
||||
k00 \
|
||||
) { \
|
||||
{ k00 } \
|
||||
|
|
|
@ -2,11 +2,6 @@
|
|||
|
||||
/* 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
|
||||
),
|
||||
LAYOUT_ortho_1x1(KC_B)
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue