Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
skullydazed committed Jan 5, 2021
2 parents e7db582 + 3d1e7bd commit cf2f13f
Show file tree
Hide file tree
Showing 30 changed files with 159 additions and 135 deletions.
23 changes: 0 additions & 23 deletions keyboards/handwired/onekey/pytest/config.h

This file was deleted.

3 changes: 0 additions & 3 deletions keyboards/handwired/onekey/pytest/readme.md

This file was deleted.

3 changes: 0 additions & 3 deletions keyboards/handwired/onekey/pytest/rules.mk

This file was deleted.

File renamed without changes.
Empty file.
5 changes: 5 additions & 0 deletions keyboards/handwired/pytest/basic/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#include QMK_KEYBOARD_H

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
LAYOUT_ortho_1x1(KC_A)
};
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"keyboard": "handwired/onekey/pytest",
"keyboard": "handwired/pytest/basic",
"keymap": "default_json",
"layout": "LAYOUT_ortho_1x1",
"layers": [["KC_A"]],
"author": "qmk",
"notes": "This file is a keymap.json file for handwired/onekey/pytest",
"notes": "This file is a keymap.json file for handwired/pytest/basic",
"version": 1
}
Empty file.
1 change: 1 addition & 0 deletions keyboards/handwired/pytest/basic/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
MCU = atmega32u4
18 changes: 18 additions & 0 deletions keyboards/handwired/pytest/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#pragma once

#include "config_common.h"

/* USB Device descriptor parameter */
#define VENDOR_ID 0xFEED
#define PRODUCT_ID 0x6465
#define DEVICE_VER 0x0001
#define MANUFACTURER none
#define PRODUCT pytest

/* key matrix size */
#define MATRIX_ROWS 1
#define MATRIX_COLS 1

#define MATRIX_COL_PINS { F4 }
#define MATRIX_ROW_PINS { F5 }
#define DIODE_DIRECTION COL2ROW
Empty file.
Empty file.
3 changes: 3 additions & 0 deletions keyboards/handwired/pytest/has_community/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
MCU = atmega32u4

LAYOUTS = ortho_1x1
Empty file.
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#include QMK_KEYBOARD_H

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
LAYOUT_ortho_1x1(KC_A)
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"keyboard": "handwired/pytest/has_template",
"keymap": "default_json",
"layout": "LAYOUT_ortho_1x1",
"layers": [["KC_A"]],
"author": "qmk",
"notes": "This file is a keymap.json file for handwired/pytest/has_template",
"version": 1
}
Empty file.
1 change: 1 addition & 0 deletions keyboards/handwired/pytest/has_template/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
MCU = atmega32u4
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"documentation": "This file is a keymap.json file for handwired/onekey/pytest"
"documentation": "This file is a keymap.json file for handwired/pytest/has_template"
}
11 changes: 11 additions & 0 deletions keyboards/handwired/pytest/pytest.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#pragma once

#include "quantum.h"

#define LAYOUT_ortho_1x1( \
k00 \
) { \
{ k00 } \
}

#define LAYOUT LAYOUT_ortho_1x1
47 changes: 23 additions & 24 deletions keyboards/kingly_keys/ave/ortho/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
/*
/*
Copyright 2020 Garret Gartner
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#include QMK_KEYBOARD_H

Expand Down Expand Up @@ -159,7 +159,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {


// KEYMAP TEMPLATE:
//
//
// /* <_LAYER>:
// *
// * ┌────┐ ┌────┐ ┌────┬────┬────┐
Expand All @@ -185,16 +185,15 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {


// Per-Key Tapping Term Definitions:
uint16_t get_tapping_term(uint16_t keycode) {
switch (keycode) {
case TD(TD_DBQT):
return 235;
default:
return TAPPING_TERM;
}
uint16_t get_tapping_term(uint16_t keycode, keyrecord_t *record) {
switch (keycode) {
case TD(TD_DBQT):
return 235;
default:
return TAPPING_TERM;
}
}


// Encoder Customization: (*Order-of-Keycode Specific)
void encoder_update_user(uint8_t index, bool clockwise) {
if (index == 0) {
Expand Down
47 changes: 22 additions & 25 deletions keyboards/kingly_keys/ave/staggered/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
/*
/*
Copyright 2020 Garret Gartner
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#include QMK_KEYBOARD_H

Expand Down Expand Up @@ -184,19 +184,16 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
// )



// Per-Key Tapping Term Definitions:
uint16_t get_tapping_term(uint16_t keycode) {
switch (keycode) {
case TD(TD_DBQT):
return 235;
default:
return TAPPING_TERM;
}
uint16_t get_tapping_term(uint16_t keycode, keyrecord_t *record) {
switch (keycode) {
case TD(TD_DBQT):
return 235;
default:
return TAPPING_TERM;
}
}



// Encoder Customization: (*Order-of-Keycode Specific)
void encoder_update_user(uint8_t index, bool clockwise) {
if (index == 0) {
Expand Down
4 changes: 1 addition & 3 deletions keyboards/nightly_boards/octopad/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define B5_AUDIO

#define AUDIO_CLICKY

#define NO_MUSIC_MODE

/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
#define DEBOUNCE 5
Expand All @@ -81,5 +81,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE


Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"keyboard":"handwired/onekey/pytest",
"keyboard":"handwired/pytest/basic",
"keymap":"pytest_unittest",
"layout":"LAYOUT",
"layers":[["KC_A"]]
Expand Down
Loading

0 comments on commit cf2f13f

Please sign in to comment.