Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new handwired keyboard (Ergocheap) #11857

Merged
merged 27 commits into from
Apr 8, 2021
Merged
Show file tree
Hide file tree
Changes from 24 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
b95bbe0
Added ergocheap keymap and setting
RalvinAdrian Feb 11, 2021
2664fe2
Update readme.md
RalvinAdrian Feb 11, 2021
04e5678
Update readme.md
RalvinAdrian Feb 11, 2021
805cf89
reverting layout name
RalvinAdrian Feb 11, 2021
1e51bfa
Update keyboards/handwired/ergocheap/rules.mk
RalvinAdrian Feb 13, 2021
033c8a5
Update ergocheap.c
RalvinAdrian Feb 13, 2021
33e781c
Merge branch 'master' of https://github.com/xSteins/qmk_firmware
RalvinAdrian Feb 13, 2021
f6047cb
Update keyboards/handwired/ergocheap/config.h
RalvinAdrian Feb 13, 2021
758a186
Merge branch 'master' of https://github.com/xSteins/qmk_firmware
RalvinAdrian Feb 13, 2021
07569b4
Update layout name & keymap
RalvinAdrian Feb 14, 2021
6e2ae9a
Add via keymap
RalvinAdrian Feb 15, 2021
ab1adb1
Add another spacebar
RalvinAdrian Feb 20, 2021
e073f86
Update keyboards/handwired/ergocheap/readme.md
RalvinAdrian Feb 20, 2021
83a5d07
Update keyboards/handwired/ergocheap/rules.mk
RalvinAdrian Feb 20, 2021
c92599d
Merge branch 'master' of https://github.com/xSteins/qmk_firmware
RalvinAdrian Feb 20, 2021
7dc2f5c
Removed commented keymap
RalvinAdrian Feb 20, 2021
604018a
Removed commented keymap on via folder
RalvinAdrian Feb 20, 2021
fb8ff3d
removed LTO
RalvinAdrian Feb 20, 2021
bc874d0
Add 2 empty layer on via folder
RalvinAdrian Feb 25, 2021
4ccaa12
Update quantum/rgblight.h
RalvinAdrian Mar 11, 2021
8b5385f
Update quantum/rgblight.c
RalvinAdrian Mar 11, 2021
9119a99
Update keyboards/handwired/ergocheap/ergocheap.h
RalvinAdrian Mar 11, 2021
9416fe3
Update quantum/process_keycode/process_music.c
RalvinAdrian Mar 11, 2021
9c1d7d5
Overwrite mcuconf file using chibios reference
RalvinAdrian Apr 3, 2021
95c112f
chconf & halconf migrate from chibios common ref
RalvinAdrian Apr 4, 2021
8b90cd8
update keymap
RalvinAdrian Apr 4, 2021
379c94c
Create info.json
RalvinAdrian Apr 4, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
714 changes: 714 additions & 0 deletions keyboards/handwired/ergocheap/chconf.h

Large diffs are not rendered by default.

67 changes: 67 additions & 0 deletions keyboards/handwired/ergocheap/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
/*
Copyright 2021 xSteins <[email protected]>

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:https://www.gnu.org/licenses/>.
*/

#pragma once

/* USB Device descriptor parameter */
#define VENDOR_ID 0xFEDE //0xFEED
#define PRODUCT_ID 0x6942 //0x6465
#define DEVICE_VER 0x0001
#define MANUFACTURER xSteins
#define PRODUCT ERGOCHEAP

/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 15

#define MATRIX_COL_PINS { A8, A9, B14, B12, B13, B15, B3, B11, A4, A5, A6, A7, B0, B1, B10 }
#define MATRIX_ROW_PINS { B5, B6, B7, B9, B8 }

#define DIODE_DIRECTION COL2ROW

/* key led setting */
//#define BACKLIGHT_PIN A8
//#define BACKLIGHT_PWM_DRIVER PWMD1
//#define BACKLIGHT_PWM_CHANNEL 1
//#define BACKLIGHT_LEVELS 6
//#define BACKLIGHT_BREATHING
//#define BREATHING_PERIOD 6

/* define if matrix has ghost */
//#define MATRIX_HAS_GHOST

/* Set 0 if debouncing isn't needed */
#define DEBOUNCE 8
#define TAPPING_TERM 500

/*
* Feature disable options
* These options are also useful to firmware size reduction.
*/

/* disable debug print */
//#define NO_DEBUG

/* disable print */
//#define NO_PRINT

/* disable action features */
//#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT
//#define NO_ACTION_MACRO
//#define NO_ACTION_FUNCTION
16 changes: 16 additions & 0 deletions keyboards/handwired/ergocheap/ergocheap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/* Copyright 2021 xSteins <[email protected]>
*
* 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:https://www.gnu.org/licenses/>.
*/
#include "ergocheap.h"
drashna marked this conversation as resolved.
Show resolved Hide resolved
42 changes: 42 additions & 0 deletions keyboards/handwired/ergocheap/ergocheap.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
/*
Copyright 2021 xSteins <[email protected]>

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:https://www.gnu.org/licenses/>.
*/
#pragma once
#include "quantum.h"

/*
* The first section contains all of the arguments representing the physical
* layout of the board and position of the Keys.
*
* The second converts the arguments into a two-dimensional array which
* represents the switch matrix.
*/


#define LAYOUT( \
K00, K01, K02, K0B, K0D, K0E, K0F, \
K10, K11, K03, K04, K05, K06, K07, K08, K09, K0A, K1B, K1D, K1E, K1F, \
K20, K21,K12, K13, K14, K15, K16, K17, K18, K19, K1A, K2B, K2D, K2E, K2F, \
K30, K31,K22, K23, K24, K25, K26, K27, K28, K29, K3B, K3D, K3E, K3F, \
K40, K32, K33, K34, K35, K36, K37, K38, K39, K4B, K4D, K4E, K4F, \
K42, K44, K45, K46, K47, K48 \
) { \
{ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0D, K0E, K0F, }, \
{ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1D, K1E, K1F, }, \
{ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, KC_NO, K2B, K2D, K2E, K2F, }, \
{ K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, KC_NO, K3B, K3D, K3E, K3F, }, \
{ K40, KC_NO, K42, KC_NO, K44, K45, K46, K47, K48, KC_NO, KC_NO, K4B, K4D, K4E, K4F } \
}
Loading