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

[Keyboard] Add keebformom ortho 4x10 #18104

Merged
merged 29 commits into from
Feb 3, 2023
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
b4184f2
Add files via upload
nendezkombet Aug 19, 2022
ecebf7c
Update readme.md
nendezkombet Aug 19, 2022
f75fa67
Update keymap.c
nendezkombet Aug 19, 2022
0b1f68d
Update keyboards/keebformom/config.h
nendezkombet Aug 20, 2022
2a64a2c
Update keyboards/keebformom/config.h
nendezkombet Aug 20, 2022
d60042d
Update keyboards/keebformom/info.json
nendezkombet Aug 20, 2022
6f49768
Update keyboards/keebformom/readme.md
nendezkombet Aug 20, 2022
e291dbd
Update keyboards/keebformom/rules.mk
nendezkombet Aug 20, 2022
2f66e9a
Update keyboards/keebformom/config.h
nendezkombet Aug 23, 2022
9173fce
Update keyboards/keebformom/keymaps/default/config.h
nendezkombet Aug 23, 2022
7a99937
fix audio pin
nendezkombet Aug 23, 2022
9e19d67
define audio pin
nendezkombet Aug 23, 2022
c5ea042
Update rules.mk
nendezkombet Aug 24, 2022
6c76a42
Update config.h
nendezkombet Oct 13, 2022
7093bbd
Update config.h
nendezkombet Oct 13, 2022
10ba6d2
Update keymap.c
nendezkombet Oct 13, 2022
6bfd730
Update rules.mk
nendezkombet Oct 13, 2022
fa864c4
Update rules.mk
nendezkombet Oct 13, 2022
8128186
Update config.h
nendezkombet Oct 13, 2022
1b43f06
move image host
nendezkombet Oct 28, 2022
d273b5a
change image host
nendezkombet Dec 16, 2022
57cbbbe
Update keyboards/keebformom/rules.mk
nendezkombet Dec 16, 2022
056539f
Update keyboards/keebformom/config.h
nendezkombet Dec 16, 2022
2bb26e9
Update keyboards/keebformom/config.h
nendezkombet Feb 2, 2023
8e6e483
Update keyboards/keebformom/config.h
nendezkombet Feb 2, 2023
e355ea3
Update keyboards/keebformom/readme.md
nendezkombet Feb 2, 2023
2e73c51
Update keyboards/keebformom/info.json
nendezkombet Feb 2, 2023
04795bd
Update keyboards/keebformom/rules.mk
nendezkombet Feb 2, 2023
52d0e98
Update keyboards/keebformom/config.h
waffle87 Feb 3, 2023
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
94 changes: 94 additions & 0 deletions keyboards/keebformom/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
/* Copyright 2022 Sandipratama <https://github.com/nendezkombet>

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/>.
*/

#pragma once

#include "config_common.h"

waffle87 marked this conversation as resolved.
Show resolved Hide resolved

/* key matrix size */
#define MATRIX_ROWS 4
#define MATRIX_COLS 10

nendezkombet marked this conversation as resolved.
Show resolved Hide resolved
/*
* Keyboard Matrix Assignments
*
* Change this to how you wired your keyboard
* COLS: AVR pins used for columns, left to right
* ROWS: AVR pins used for rows, top to bottom
* DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
* ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
*
*/
/* KFM PCB default pin-out */
#define MATRIX_ROW_PINS { F5, F6, F7, B1 }
#define MATRIX_COL_PINS { B3, B2, D1, D0, D4, C6, D7, E6, B4, B5 }

/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW

#define RGB_DI_PIN F4
#ifdef RGB_DI_PIN
#define RGBLED_NUM 8
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8
#define RGBLIGHT_LIMIT_VAL 200 /* The maximum brightness level */
#define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
# define RGBLIGHT_EFFECT_BREATHING
# define RGBLIGHT_EFFECT_RAINBOW_MOOD
# define RGBLIGHT_EFFECT_RAINBOW_SWIRL
#endif

/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
#define DEBOUNCE 5

/*
* Force NKRO
*
* Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
* state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
* makefile for this to work.)
*
* If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
* until the next keyboard reset.
*
* NKRO may prevent your keystrokes from being detected in the BIOS, but it is
* fully operational during normal computer usage.
*
* For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
* or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
* bootmagic, NKRO mode will always be enabled until it is toggled again during a
* power-up.
*
*/
//#define FORCE_NKRO

nendezkombet marked this conversation as resolved.
Show resolved Hide resolved
/*
* Feature disable options
* These options are also useful to firmware size reduction.
*/

/* disable action features */
//#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT
#define TAPPING_TERM 200
nendezkombet marked this conversation as resolved.
Show resolved Hide resolved

/* disable these deprecated features by default */
//#define NO_ACTION_MACRO
//#define NO_ACTION_FUNCTION

58 changes: 58 additions & 0 deletions keyboards/keebformom/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"keyboard_name": "Keeb For Mom",
"url": "",
"maintainer": "qmk",
"manufacturer": "nendezkombet/sandipratama",
"usb": {
"vid": "0x458F",
"pid": "0x14E2",
"device_version": "1.0.0"
},
nendezkombet marked this conversation as resolved.
Show resolved Hide resolved
"layouts": {
nendezkombet marked this conversation as resolved.
Show resolved Hide resolved
"LAYOUT_ortho_4x10": {
"layout": [
{"x":0, "y":0},
{"x":1, "y":0},
{"x":2, "y":0},
{"x":3, "y":0},
{"x":4, "y":0},
{"x":5, "y":0},
{"x":6, "y":0},
{"x":7, "y":0},
{"x":8, "y":0},
{"x":9, "y":0},
{"x":0, "y":1},
{"x":1, "y":1},
{"x":2, "y":1},
{"x":3, "y":1},
{"x":4, "y":1},
{"x":5, "y":1},
{"x":6, "y":1},
{"x":7, "y":1},
{"x":8, "y":1},
{"x":9, "y":1},
{"x":0, "y":2},
{"x":1, "y":2},
{"x":2, "y":2},
{"x":3, "y":2},
{"x":4, "y":2},
{"x":5, "y":2},
{"x":6, "y":2},
{"x":7, "y":2},
{"x":8, "y":2},
{"x":9, "y":2},
{"x":0, "y":3},
{"x":1, "y":3},
{"x":2, "y":3},
{"x":3, "y":3},
{"x":4, "y":3},
{"x":5, "y":3},
{"x":6, "y":3},
{"x":7, "y":3},
{"x":8, "y":3},
{"x":9, "y":3}

]
}
}
}
17 changes: 17 additions & 0 deletions keyboards/keebformom/keebformom.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/* Copyright 2022 Sandipratama <https://github.com/nendezkombet>

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 "keebformom.h"
40 changes: 40 additions & 0 deletions keyboards/keebformom/keebformom.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
/* Copyright 2022 Sandipratama <https://github.com/nendezkombet>

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/>.
*/

#pragma once

#include "quantum.h"

/* This is a shortcut to help you visually see your layout.
*
* 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_ortho_4x10( \
k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, \
k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, \
k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, \
k30, k31, k32, k33, k34, k35, k36, k37, k38, k39 \
) \
{ \
{ k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, }, \
{ k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, }, \
{ k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, }, \
{ k30, k31, k32, k33, k34, k35, k36, k37, k38, k39 } \
}
29 changes: 29 additions & 0 deletions keyboards/keebformom/keymaps/default/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
/* Copyright 2022 Sandipratama <https://github.com/nendezkombet>

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/>.
*/

#pragma once

#include "config_common.h"
nendezkombet marked this conversation as resolved.
Show resolved Hide resolved

#ifdef AUDIO_ENABLE
#define AUDIO_PIN B6
nendezkombet marked this conversation as resolved.
Show resolved Hide resolved
#define NO_MUSIC_MODE
#define STARTUP_SONG SONG(MAJOR_SOUND)
#endif

#define COMBO_COUNT 8
#define MIDI_ADVANCED

Loading